Skip to content

CLN: Remove StringMixin from PandasObject #26505

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

Conversation

topper-123
Copy link
Contributor

@topper-123 topper-123 commented May 23, 2019

Addresses #26495. In addition to the use of StringMixin in PandasObject, StringMixin is also used in core.computation and the io.pytables. I'd like to tackle those in a different PR, as there is some funkyness there (calls that depend on frame depth etc.)

@topper-123 topper-123 force-pushed the PandasObject_not_inherit_StringMixin branch from 2c94d69 to a17e570 Compare May 23, 2019 16:39
@codecov
Copy link

codecov bot commented May 23, 2019

Codecov Report

Merging #26505 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #26505      +/-   ##
==========================================
+ Coverage   91.75%   91.75%   +<.01%     
==========================================
  Files         174      174              
  Lines       50761    50676      -85     
==========================================
- Hits        46575    46499      -76     
+ Misses       4186     4177       -9
Flag Coverage Δ
#multiple 90.26% <100%> (ø) ⬆️
#single 41.72% <100%> (-0.08%) ⬇️
Impacted Files Coverage Δ
pandas/core/internals/managers.py 93.87% <ø> (-0.06%) ⬇️
pandas/core/indexes/frozen.py 91.78% <ø> (-0.33%) ⬇️
pandas/core/series.py 93.61% <ø> (-0.06%) ⬇️
pandas/core/panel.py 17.61% <ø> (+0.11%) ⬆️
pandas/core/frame.py 97% <ø> (-0.14%) ⬇️
pandas/core/generic.py 93.57% <ø> (+0.08%) ⬆️
pandas/core/window.py 96.4% <ø> (-0.02%) ⬇️
pandas/core/internals/blocks.py 94.12% <ø> (+0.04%) ⬆️
pandas/core/groupby/groupby.py 97.23% <ø> (-0.01%) ⬇️
pandas/core/arrays/categorical.py 95.91% <ø> (-0.05%) ⬇️
... and 16 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 65eac80...a17e570. Read the comment docs.

1 similar comment
@codecov
Copy link

codecov bot commented May 23, 2019

Codecov Report

Merging #26505 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #26505      +/-   ##
==========================================
+ Coverage   91.75%   91.75%   +<.01%     
==========================================
  Files         174      174              
  Lines       50761    50676      -85     
==========================================
- Hits        46575    46499      -76     
+ Misses       4186     4177       -9
Flag Coverage Δ
#multiple 90.26% <100%> (ø) ⬆️
#single 41.72% <100%> (-0.08%) ⬇️
Impacted Files Coverage Δ
pandas/core/internals/managers.py 93.87% <ø> (-0.06%) ⬇️
pandas/core/indexes/frozen.py 91.78% <ø> (-0.33%) ⬇️
pandas/core/series.py 93.61% <ø> (-0.06%) ⬇️
pandas/core/panel.py 17.61% <ø> (+0.11%) ⬆️
pandas/core/frame.py 97% <ø> (-0.14%) ⬇️
pandas/core/generic.py 93.57% <ø> (+0.08%) ⬆️
pandas/core/window.py 96.4% <ø> (-0.02%) ⬇️
pandas/core/internals/blocks.py 94.12% <ø> (+0.04%) ⬆️
pandas/core/groupby/groupby.py 97.23% <ø> (-0.01%) ⬇️
pandas/core/arrays/categorical.py 95.91% <ø> (-0.05%) ⬇️
... and 16 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 65eac80...a17e570. Read the comment docs.

Copy link
Member

@jorisvandenbossche jorisvandenbossche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am fine with this

@jreback jreback added Clean Internals Related to non-user accessible pandas implementation labels May 24, 2019
@jreback jreback added this to the 0.25.0 milestone May 24, 2019
@jreback jreback merged commit 7eb7bb9 into pandas-dev:master May 24, 2019
@jreback
Copy link
Contributor

jreback commented May 24, 2019

thanks @topper-123

@topper-123 topper-123 deleted the PandasObject_not_inherit_StringMixin branch May 25, 2019 07:32
another-green pushed a commit to another-green/pandas that referenced this pull request May 29, 2019
has2k1 added a commit to has2k1/plydata that referenced this pull request Aug 21, 2019
Response to pandas v0.25.0 so that tests can pass.

pandas-dev/pandas#26505
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clean Internals Related to non-user accessible pandas implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove StringMixin from code base
3 participants