quantitative analysis using python