Skip to content

PERF: setting PeriodDtype column #43308

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

Merged
merged 1 commit into from
Aug 30, 2021
Merged

Conversation

jbrockmendel
Copy link
Member

from asv_bench.benchmarks.period import *
self = DataFramePeriodColumn()
self.setup()

%timeit self.time_setitem_period_column()
59.8 µs ± 2.19 µs per loop (mean ± std. dev. of 7 runs, 10000 loops each)  # <- master
33 µs ± 933 ns per loop (mean ± std. dev. of 7 runs, 10000 loops each)  # <- PR

@jreback jreback added the Period Period data type label Aug 30, 2021
@jreback jreback added this to the 1.4 milestone Aug 30, 2021
@jreback jreback added the Performance Memory or execution speed performance label Aug 30, 2021
@jreback jreback merged commit e4a2196 into pandas-dev:master Aug 30, 2021
@jbrockmendel jbrockmendel deleted the perf-period branch August 30, 2021 23:47
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 Period Period data type
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants