Session Ready
Exercise

Filtering rows of data

When your data is time series — the rows of the data frame come from information taken at different points in time — like ours, it often spans over different events. Here, the dataset covers different presidents who are evaluated differently by the public, and we're only interested in one for now: the current U.S. president, Donald Trump.

Instructions
100 XP
  • Using the code from last exercise, add a line that filters the data to only display polls taken during the Donald Trump presidency.