Skip to content

Instantly share code, notes, and snippets.

@bryankolano
Created November 26, 2022 10:37
Show Gist options
  • Save bryankolano/e458996cec13e5e6b139e40a1888bcf8 to your computer and use it in GitHub Desktop.
Save bryankolano/e458996cec13e5e6b139e40a1888bcf8 to your computer and use it in GitHub Desktop.
one_year_loc = df.loc[lambda x: x["year"] >= 2013]
one_year_loc.head()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment