Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
>>> %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