python: master data analysis