customer analytics using python