stats.ttest_rel(before_measurement, after_measurement)

She used PyMC to build a Bayesian model of abandonment.

Estadística práctica para ciencia de datos con R y Python (the Spanish edition of O'Reilly's Practical Statistics for Data Scientists

" by Peter Bruce, Andrew Bruce, and Peter Gedeck is a high-quality guide designed to bridge the gap between traditional statistical theory and modern data science practices. It focuses on 50+ essential concepts that provide the mathematical backbone for data analysis and machine learning.