-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Improve dictionary map performance on category series, fixes #23785 #26015
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
Conversation
can you merge master and update |
Yes I’ll make these changes tonight
…On Tue, Apr 9, 2019 at 7:45 AM Jeff Reback ***@***.***> wrote:
can you merge master and update
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#26015 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ASq_BQ-RFXrTzKSbYQ5ImXCsJXZbdFb0ks5vfKeKgaJpZM4cgSar>
.
|
f77d00d
to
4559993
Compare
Codecov Report
@@ Coverage Diff @@
## master #26015 +/- ##
==========================================
- Coverage 91.84% 91.81% -0.03%
==========================================
Files 175 175
Lines 52517 52553 +36
==========================================
+ Hits 48232 48254 +22
- Misses 4285 4299 +14
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #26015 +/- ##
==========================================
- Coverage 91.98% 91.97% -0.01%
==========================================
Files 175 175
Lines 52376 52378 +2
==========================================
- Hits 48178 48175 -3
- Misses 4198 4203 +5
Continue to review full report at Codecov.
|
can you merge master |
5a07694
to
9d5f39a
Compare
looks good. can you merge master; ping on green. |
9d5f39a
to
7ab8e6d
Compare
@jreback merged master and all checks green |
can you merge master; ping on green. |
cc49da6
to
3292621
Compare
@jreback merged and green |
thanks @rtlee9 |
git diff upstream/master -u -- "*.py" | flake8 --diff
Uses the built-in categorical series mapper when mapping categorical series with dictionaries or series (i.e., as opposed to with lambada functions) instead of reindexing in order to improve performance.
benchmarking with asv
I added some new benchmarks to test mapping performance -- performance improves substantially when mapping with dicts or series against categorical series
benchmarking using example from #23785
upstream master
this diff