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

Implement Delegate parts of #24024 #24463

Merged
merged 2 commits into from
Dec 28, 2018
Merged

Conversation

jbrockmendel
Copy link
Member

This one got a little bit messy because until we move all the way away from inheritance there are some methods that need to be overwritten, so the @delegate_names calls are a bit more verbose than in #24024.

@codecov
Copy link

codecov bot commented Dec 28, 2018

Codecov Report

Merging #24463 into master will decrease coverage by <.01%.
The diff coverage is 97.05%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #24463      +/-   ##
==========================================
- Coverage    92.3%   92.29%   -0.01%     
==========================================
  Files         163      163              
  Lines       51969    51937      -32     
==========================================
- Hits        47968    47936      -32     
  Misses       4001     4001
Flag Coverage Δ
#multiple 90.7% <97.05%> (-0.01%) ⬇️
#single 42.99% <97.05%> (-0.02%) ⬇️
Impacted Files Coverage Δ
pandas/core/indexes/accessors.py 91% <100%> (ø) ⬆️
pandas/core/indexes/datetimes.py 96.2% <100%> (-0.11%) ⬇️
pandas/core/indexes/timedeltas.py 90.28% <100%> (+0.16%) ⬆️
pandas/core/indexes/datetimelike.py 97.56% <66.66%> (-0.15%) ⬇️

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 aa1549f...ea87a22. Read the comment docs.

1 similar comment
@codecov
Copy link

codecov bot commented Dec 28, 2018

Codecov Report

Merging #24463 into master will decrease coverage by <.01%.
The diff coverage is 97.05%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #24463      +/-   ##
==========================================
- Coverage    92.3%   92.29%   -0.01%     
==========================================
  Files         163      163              
  Lines       51969    51937      -32     
==========================================
- Hits        47968    47936      -32     
  Misses       4001     4001
Flag Coverage Δ
#multiple 90.7% <97.05%> (-0.01%) ⬇️
#single 42.99% <97.05%> (-0.02%) ⬇️
Impacted Files Coverage Δ
pandas/core/indexes/accessors.py 91% <100%> (ø) ⬆️
pandas/core/indexes/datetimes.py 96.2% <100%> (-0.11%) ⬇️
pandas/core/indexes/timedeltas.py 90.28% <100%> (+0.16%) ⬆️
pandas/core/indexes/datetimelike.py 97.56% <66.66%> (-0.15%) ⬇️

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 aa1549f...ea87a22. Read the comment docs.

@TomAugspurger
Copy link
Contributor

The delegation changes seem relatively straightforward. @jorisvandenbossche @jreback do you have any problems with doing them in #24024?

@TomAugspurger TomAugspurger added Datetime Datetime data dtype ExtensionArray Extending pandas with custom dtypes or arrays. labels Dec 28, 2018
@jreback
Copy link
Contributor

jreback commented Dec 28, 2018

I think this uses _eadata changes. ok here or in main PR.

@TomAugspurger
Copy link
Contributor

My point was that if people have had a chance to review the dispatching in #24024, and are happy with it, then it needn't be split off here (especially when the changes here aren't what will end up being in master when eadata is removed).

@jreback
Copy link
Contributor

jreback commented Dec 28, 2018

My point was that if people have had a chance to review the dispatching in #24024, and are happy with it, then it needn't be split off here (especially when the changes here aren't what will end up being in master when eadata is removed).

well that's the problem. that PR is so big that its not easy to review it at all.

@TomAugspurger
Copy link
Contributor

I was under the impression that people had already looked at the dispatching parts. Was that wrong?

cc @jorisvandenbossche.

@jreback
Copy link
Contributor

jreback commented Dec 28, 2018

@TomAugspurger there is so much going on there it will take enormous effort and time to do it this way. splitting is much better.

@TomAugspurger
Copy link
Contributor

TomAugspurger commented Dec 28, 2018 via email

@jreback
Copy link
Contributor

jreback commented Dec 28, 2018

I don't follow your logic. I'm trying to reduce wasted effort, by not
splitting things that have already been reviewed (though maybe they haven't
been reviewed) and by not having the intermediate _eadata in too many
places.

The problem is if its in the original, who and how was it reviewed? its not clear at all. sure maybe it was looked at briefly, but leaving it there is the worst scenario. you have to constantly scan for changes. I haven't even looked at your PR fully once. Its simply too many changes.

@TomAugspurger
Copy link
Contributor

TomAugspurger commented Dec 28, 2018 via email

@jreback jreback added this to the 0.24.0 milestone Dec 28, 2018
@jreback jreback merged commit 5a9f452 into pandas-dev:master Dec 28, 2018
@jreback
Copy link
Contributor

jreback commented Dec 28, 2018

thanks @jbrockmendel and @TomAugspurger

@jbrockmendel jbrockmendel deleted the eadata4 branch December 28, 2018 15:56
Pingviinituutti pushed a commit to Pingviinituutti/pandas that referenced this pull request Feb 28, 2019
Pingviinituutti pushed a commit to Pingviinituutti/pandas that referenced this pull request Feb 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Datetime Datetime data dtype ExtensionArray Extending pandas with custom dtypes or arrays.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants