Filter & explore

The daily data move: pick columns and filter the rows that match a condition.

Boolean filtering: `df[df["age"] > 30]` keeps rows where the condition is True. Summarise with `len(df)`, `df["col"].mean()`, or `df.describe()`.

adults = df[df["age"] >= 18]
print(len(adults))

More lessons in Python for data