Skip to content
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

REF: Change how pandas.core.common shim works #19304

Closed

Conversation

TomAugspurger
Copy link
Contributor

I have a PR incoming that would introduce a circular dependency
between pandas.core.arrays.categorical, pandas.api, and pandas.core.common.

This change will allow that PR to avoid hacky workarounds, since the
real problem is pandas.core importing pandas.api.types.

xref #13990

I have a PR incoming that would introduce a circular dependency
between pandas.core.arrays.categorical, pandas.api, and pandas.core.common.

This change will allow that PR to avoid hacky workarounds, since the
real problem is pandas.core importing pandas.api.types.

xref pandas-dev#13990
@TomAugspurger TomAugspurger added the Refactor Internal refactoring of code label Jan 18, 2018
Copy link

@desasaliho desasaliho left a comment

Choose a reason for hiding this comment

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

Hello..i have a problem in my Facebook when I login it say your account has been disabled
By an administrator I want to know why I am Disabled please and when I can login back I
Hope that you can help me and it thank you for
Any answer you will give it to me bye

@pandas-dev pandas-dev deleted a comment from desasaliho Jan 18, 2018
@jreback
Copy link
Contributor

jreback commented Jan 18, 2018

these are on the list to be removed in 0.23 anyhow( #6581). would rather just take them out.

Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

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

see comments

@TomAugspurger
Copy link
Contributor Author

Hmm, looks like dask uses it in one place :/

Thoughts up bumping it to a FutureWarning for one more release and then removing?

@TomAugspurger
Copy link
Contributor Author

TomAugspurger commented Jan 19, 2018

Ah, dask's usage is just compatibility for older pandas (0.19.2, which isn't so long ago).

@jreback
Copy link
Contributor

jreback commented Jan 19, 2018

this should go now
it’s been a while

@codecov
Copy link

codecov bot commented Jan 19, 2018

Codecov Report

Merging #19304 into master will decrease coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #19304      +/-   ##
==========================================
- Coverage   91.52%    91.5%   -0.03%     
==========================================
  Files         150      150              
  Lines       48875    48877       +2     
==========================================
- Hits        44733    44723      -10     
- Misses       4142     4154      +12
Flag Coverage Δ
#multiple 89.87% <100%> (-0.03%) ⬇️
#single 41.66% <72.22%> (ø) ⬆️
Impacted Files Coverage Δ
pandas/core/common.py 92.96% <100%> (+0.04%) ⬆️
pandas/plotting/_converter.py 65.22% <0%> (-1.74%) ⬇️

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 ca2d261...7b6d0b0. Read the comment docs.

@jreback
Copy link
Contributor

jreback commented Jan 21, 2018

as I said above, just remove the core.common accessors

@TomAugspurger
Copy link
Contributor Author

I think we're undecided on what to do with deprecations slated for 0.23.0, comment from @jorisvandenbossche in #6581 (comment). Let's resolve that in #6581 first.

@jreback
Copy link
Contributor

jreback commented Jan 30, 2018

this was an already slated deprecation for removal

@TomAugspurger TomAugspurger deleted the deprecate-common branch February 19, 2018 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Refactor Internal refactoring of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants