Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created June 16, 2020 09:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save velotiotech/a9e2f97aa855d36ac8b72518a20a4f2c to your computer and use it in GitHub Desktop.
Save velotiotech/a9e2f97aa855d36ac8b72518a20a4f2c to your computer and use it in GitHub Desktop.
>>> %timeit df[(df['vertical'] == 'B2B') & (df['year'] == 2009)]
1.69 ms ± 57 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment