-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
CLN;: remove compat.lzip #26311
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
CLN;: remove compat.lzip #26311
Conversation
Codecov Report
@@ Coverage Diff @@
## master #26311 +/- ##
==========================================
- Coverage 92.04% 92.03% -0.01%
==========================================
Files 175 175
Lines 52302 52292 -10
==========================================
- Hits 48141 48127 -14
- Misses 4161 4165 +4
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #26311 +/- ##
==========================================
- Coverage 92.04% 92.03% -0.01%
==========================================
Files 175 175
Lines 52302 52292 -10
==========================================
- Hits 48142 48128 -14
- Misses 4160 4164 +4
Continue to review full report at Codecov.
|
The failures are unrelated to this PR. (They are caused by #26287). |
If you merge master should fix CI issues
…Sent from my iPhone
On May 7, 2019, at 11:30 AM, topper-123 ***@***.***> wrote:
The failures are unrelated to this PR. (They are caused by #26287).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
bacd6cf
to
2ef50ae
Compare
pandas/core/generic.py
Outdated
@@ -6502,7 +6502,7 @@ def replace(self, to_replace=None, value=None, inplace=False, limit=None, | |||
regex = True | |||
|
|||
items = list(to_replace.items()) | |||
keys, values = lzip(*items) or ([], []) | |||
keys, values = zip(*items) if len(items) else ([], []) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since items
is a list
I think you can modify the ternary to be zip(*items) if items else ([], [])
2ef50ae
to
bc464d8
Compare
bc464d8
to
792d3e0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Thanks @topper-123 ! Keep them coming! |
Removal of
compat.lzip
from the code base.