Skip to content

round function added to DatetimeIndex #8942

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 2 commits into from

Conversation

bbartaia
Copy link

closes #4314

@jreback
Copy link
Contributor

jreback commented Dec 3, 2014

  • needs a release note, but this I think will have to wait for 0.16.0 as we need to fixup round for NumericIndex.
  • needs tests & adjustment for NaT (wrap the .round using self._mask_missing)
  • add in tests (including NaT) & impl for TimedeltaIndex as well (impl is easy here as well, you can just self._mask_missing(lib.map_infer, Timedelta.round))

@jreback jreback added Enhancement Datetime Datetime data dtype Timedelta Timedelta data type labels Dec 3, 2014
@jreback jreback added this to the 0.16.0 milestone Dec 3, 2014
@jreback jreback modified the milestones: 0.16.0, Next Major Release Mar 3, 2015
@jreback
Copy link
Contributor

jreback commented May 9, 2015

closing pls reopen if/when updated

@jreback jreback closed this May 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Datetime Datetime data dtype Enhancement Timedelta Timedelta data type
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ENH: add rounding method to DatetimeIndex/TimedeltaIndex
2 participants