Skip to content

Conversation

@lukemanley
Copy link
Member

from asv_bench.benchmarks.reshape import GetDummies b = GetDummies() b.setup() %timeit b.time_get_dummies_1d() # 106 ms ± 4.77 ms per loop (mean ± std. dev. of 7 runs, 10 loops each) <- main # 17 ms ± 1.58 ms per loop (mean ± std. dev. of 7 runs, 10 loops each) <- PR 
@lukemanley lukemanley added Performance Memory or execution speed performance Reshaping Concat, Merge/Join, Stack/Unstack, Explode labels Nov 20, 2023
@lukemanley lukemanley added this to the 2.2 milestone Nov 20, 2023
@mroeschke mroeschke merged commit 6a8370e into pandas-dev:main Nov 21, 2023
@mroeschke
Copy link
Member

Nice thanks @lukemanley

phofl pushed a commit to phofl/pandas that referenced this pull request Nov 21, 2023
* improve perf of get_dummies * whatsnew * mypy
@lukemanley lukemanley deleted the perf-get-dummies branch November 22, 2023 01:59
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

2 participants