Closed
Conversation
Contributor
|
notice that |
48637d9 to
31ae2e3
Compare
Member
Author
|
Ah, found some |
pandas/tests/series/test_replace.py
Outdated
Member
Author
dcf2ace to
904d4e1
Compare
Current coverage is 85.27% (diff: 90.00%)@@ master #12745 diff @@
==========================================
Files 144 144
Lines 50915 50921 +6
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
+ Hits 43419 43423 +4
- Misses 7496 7498 +2
Partials 0 0
|
Contributor
|
can you rebase / update? |
db1e776 to
e16a99f
Compare
Contributor
|
lgtm. can we merge this independent of the other PR's? (so it could go in 0.19.2) |
e16a99f to
ffc59b0
Compare
Member
Author
|
It is independent. #12780 fixes some existing bugs separately. |
Contributor
|
thanks! |
jorisvandenbossche
pushed a commit
that referenced
this pull request
Dec 15, 2016
When .replace is called with `dict`, replacements are done per value. Current impl try to soft convert the dtype in every replacement, but it is enough to be done in the final replacement. Author: sinhrks <sinhrks@gmail.com> Closes #12745 from sinhrks/replace_perf and squashes the following commits: ffc59b0 [sinhrks] PERF: Improve replace perf (cherry picked from commit e299560)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
git diff upstream/master | flake8 --diffWhen
.replaceis called withdict, replacements are done per value. Current impl try to soft convert the dtype in every replacement, but it is enough to be done in the final replacement.Bench