Skip to content

CLN: remove values attribute from datetimelike EAs #23603

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

jorisvandenbossche
Copy link
Member

We don't need a .values attribute on the EAs (in the interface, we actually explicitly disallow it (in words and tests)).

I thought there was a reason during the PeriodArray PR that this couldn't yet be removed, but relevant tests seem to be passing locally.

cc @jbrockmendel

@pep8speaks
Copy link

Hello @jorisvandenbossche! Thanks for submitting the PR.

@jorisvandenbossche jorisvandenbossche added the ExtensionArray Extending pandas with custom dtypes or arrays. label Nov 9, 2018
@jbrockmendel
Copy link
Member

LGTM. Are there PeriodArray tests there were disabled that can now be un-disabled?

@jorisvandenbossche
Copy link
Member Author

LGTM. Are there PeriodArray tests there were disabled that can now be un-disabled?

Yes, good catch.

@codecov
Copy link

codecov bot commented Nov 9, 2018

Codecov Report

Merging #23603 into master will decrease coverage by <.01%.
The diff coverage is 80%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #23603      +/-   ##
==========================================
- Coverage   92.25%   92.25%   -0.01%     
==========================================
  Files         161      161              
  Lines       51262    51260       -2     
==========================================
- Hits        47292    47290       -2     
  Misses       3970     3970
Flag Coverage Δ
#multiple 90.63% <80%> (-0.01%) ⬇️
#single 42.33% <60%> (-0.01%) ⬇️
Impacted Files Coverage Δ
pandas/core/arrays/timedeltas.py 93.78% <100%> (ø) ⬆️
pandas/core/indexes/datetimes.py 96.13% <100%> (ø) ⬆️
pandas/core/arrays/datetimes.py 98.42% <100%> (ø) ⬆️
pandas/core/arrays/datetimelike.py 95.9% <50%> (-0.03%) ⬇️
pandas/core/accessor.py 98.79% <0%> (ø) ⬆️
pandas/core/missing.py 91.7% <0%> (ø) ⬆️

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 f691711...b303239. Read the comment docs.

@TomAugspurger TomAugspurger added this to the 0.24.0 milestone Nov 9, 2018
@TomAugspurger TomAugspurger merged commit 9179e63 into pandas-dev:master Nov 9, 2018
@jorisvandenbossche jorisvandenbossche deleted the ea-remove-values branch November 12, 2018 11:04
JustinZhengBC pushed a commit to JustinZhengBC/pandas that referenced this pull request Nov 14, 2018
tm9k1 pushed a commit to tm9k1/pandas that referenced this pull request Nov 19, 2018
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
ExtensionArray Extending pandas with custom dtypes or arrays.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants