Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PERF: unstack 2 the unstackening #43352

Merged
merged 1 commit into from
Sep 1, 2021

Conversation

jbrockmendel
Copy link
Member

from asv_bench.benchmarks.reshape import *
self2 = Unstack()
self2.setup("category")

%timeit self2.time_full_product("category")
31.3 ms ± 2.23 ms per loop (mean ± std. dev. of 7 runs, 10 loops each)  # <- master
20.1 ms ± 304 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)  # < PR

Orthogonal to #43335

@jreback jreback added this to the 1.4 milestone Sep 1, 2021
@jreback jreback added Performance Memory or execution speed performance Reshaping Concat, Merge/Join, Stack/Unstack, Explode labels Sep 1, 2021
@jreback jreback merged commit 074ef63 into pandas-dev:master Sep 1, 2021
@jbrockmendel jbrockmendel deleted the perf-unstack-2 branch September 1, 2021 23:35
feefladder pushed a commit to feefladder/pandas that referenced this pull request Sep 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Performance Memory or execution speed performance Reshaping Concat, Merge/Join, Stack/Unstack, Explode
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants