import pandas as pd tips = pd.read_csv("https://milliams.com/courses/data_analysis_python/tips.csv")
thurs = tips[tips["day"] == "Thur"] thurs
62 rows × 5 columns
thurs["tip"].mean()
1.9398387096774192
tips[tips["day"] == "Sat"]["tip"].mean()
2.095402298850575