one_year_loc = df.loc[lambda x: x["year"] >= 2013]
one_year_loc.head()
view raw one_loc.py hosted with ❤ by GitHub