Skip to content

Instantly share code, notes, and snippets.

@ronakmutha
Created April 1, 2019 05:30
Show Gist options
  • Save ronakmutha/b5279bf58b67a1a50529fb7f7c25519d to your computer and use it in GitHub Desktop.
Save ronakmutha/b5279bf58b67a1a50529fb7f7c25519d 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