Skip to content

CLN: Remove StringMixin from pandas.core.computation #26482

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

topper-123
Copy link
Contributor

StringMixin is not really useful anymore and only functions to reverse the calling order of __str__ and __repr__, which is now not-standard in Python3.

This removes the usage of StringMixin in pandas.core.computation. Followups will remove the class from other modules.

@topper-123 topper-123 force-pushed the remove_StringMixin_from_computation branch from dd0fc1c to 29e3e45 Compare May 21, 2019 19:13
@codecov
Copy link

codecov bot commented May 21, 2019

Codecov Report

Merging #26482 into master will decrease coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #26482      +/-   ##
==========================================
- Coverage   91.75%   91.74%   -0.01%     
==========================================
  Files         174      174              
  Lines       50756    50731      -25     
==========================================
- Hits        46572    46544      -28     
- Misses       4184     4187       +3
Flag Coverage Δ
#multiple 90.26% <100%> (ø) ⬆️
#single 41.68% <100%> (-0.1%) ⬇️
Impacted Files Coverage Δ
pandas/core/computation/pytables.py 90.28% <100%> (+0.03%) ⬆️
pandas/core/computation/ops.py 95.75% <100%> (-0.21%) ⬇️
pandas/core/computation/expr.py 97.5% <100%> (-0.03%) ⬇️
pandas/io/gbq.py 78.94% <0%> (-10.53%) ⬇️
pandas/core/frame.py 97.02% <0%> (-0.12%) ⬇️

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 d3a1912...29e3e45. Read the comment docs.

1 similar comment
@codecov
Copy link

codecov bot commented May 21, 2019

Codecov Report

Merging #26482 into master will decrease coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #26482      +/-   ##
==========================================
- Coverage   91.75%   91.74%   -0.01%     
==========================================
  Files         174      174              
  Lines       50756    50731      -25     
==========================================
- Hits        46572    46544      -28     
- Misses       4184     4187       +3
Flag Coverage Δ
#multiple 90.26% <100%> (ø) ⬆️
#single 41.68% <100%> (-0.1%) ⬇️
Impacted Files Coverage Δ
pandas/core/computation/pytables.py 90.28% <100%> (+0.03%) ⬆️
pandas/core/computation/ops.py 95.75% <100%> (-0.21%) ⬇️
pandas/core/computation/expr.py 97.5% <100%> (-0.03%) ⬇️
pandas/io/gbq.py 78.94% <0%> (-10.53%) ⬇️
pandas/core/frame.py 97.02% <0%> (-0.12%) ⬇️

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 d3a1912...29e3e45. Read the comment docs.

@topper-123 topper-123 closed this May 21, 2019
@topper-123 topper-123 deleted the remove_StringMixin_from_computation branch October 15, 2019 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant