-
-
Notifications
You must be signed in to change notification settings - Fork 18.2k
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 u and u_safe from pandas.compat #25852
Conversation
can we remove unicode strings themselves if they e.g. u'....'? |
Yeah, I was thinking that seemed better suited for a separate PR since, after a quick check, there looks to be 1000+ instances of it, and I didn't want to jam too much into a single PR. Can do it here if you'd prefer. |
Codecov Report
@@ Coverage Diff @@
## master #25852 +/- ##
==========================================
+ Coverage 91.45% 91.47% +0.01%
==========================================
Files 172 172
Lines 52892 52870 -22
==========================================
- Hits 48373 48362 -11
+ Misses 4519 4508 -11
Continue to review full report at Codecov.
|
1 similar comment
Codecov Report
@@ Coverage Diff @@
## master #25852 +/- ##
==========================================
+ Coverage 91.45% 91.47% +0.01%
==========================================
Files 172 172
Lines 52892 52870 -22
==========================================
- Hits 48373 48362 -11
+ Misses 4519 4508 -11
Continue to review full report at Codecov.
|
separate is good! |
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 @jschendel that was a lot!
.format(name=type(self.frame).__name__, | ||
col=pprint_thing(frame.columns), |
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.
surprise this wasn't a lint error before
thanks @jschendel keep em coming! |
git diff upstream/master -u -- "*.py" | flake8 --diff
Another incremental step in removing Python 2. Only non-standard changes were to
pandas/tests/test_strings.py
where I deleted a bunch of code, as removingu
resulted in duplicate test scenarios.