Skip to content

CLN: move PeriodIndex.__getitem__ to DatetimeIndexOpsMixin #13987

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

Closed
wants to merge 1 commit into from

Conversation

sinhrks
Copy link
Member

@sinhrks sinhrks commented Aug 13, 2016

merge PeriodIndex.__getitem__ to DatetimeIndexOpsMixin

@codecov-io
Copy link

codecov-io commented Aug 13, 2016

Current coverage is 85.27% (diff: 100%)

Merging #13987 into master will decrease coverage by <.01%

@@             master     #13987   diff @@
==========================================
  Files           139        139          
  Lines         50214      50208     -6   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
- Hits          42822      42816     -6   
  Misses         7392       7392          
  Partials          0          0          

Powered by Codecov. Last update a0d05db...48d187d

attribs['freq'] = freq

result = getitem(key)
if result.ndim > 1:
# MPL kludge
Copy link
Member

Choose a reason for hiding this comment

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

can you make this comment a bit more informative?

Copy link
Member Author

Choose a reason for hiding this comment

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

added my understanding which to support MPL.

CC: @TomAugspurger

@jreback
Copy link
Contributor

jreback commented Aug 18, 2016

thanks!

@sinhrks sinhrks deleted the period_getitem branch August 18, 2016 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants