import pandas as pd tips = pd.read_csv("https://milliams.com/courses/data_analysis_python/tips.csv")
bill_per_person = tips["total_bill"] / tips["size"] bill_per_person
0 8.495000 1 3.446667 2 7.003333 3 11.840000 4 6.147500 ... 239 9.676667 240 13.590000 241 11.335000 242 8.910000 243 9.390000 Length: 244, dtype: float64
bill_per_person.mean()
7.888229508196722
bill_per_person.std()
2.9143496626221