Skip to content

ENH: rounding for datetimelike Indexes/Scalars #11690

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
merged 2 commits into from
Nov 29, 2015
Merged

Conversation

jreback
Copy link
Contributor

@jreback jreback commented Nov 24, 2015

closes #4314

@jreback jreback added Enhancement Datetime Datetime data dtype Timedelta Timedelta data type Timezones Timezone data dtype labels Nov 24, 2015
@jreback jreback added this to the 0.18.0 milestone Nov 24, 2015
@jreback jreback force-pushed the round branch 2 times, most recently from e26bc88 to 563e9c9 Compare November 24, 2015 13:08
jreback added a commit that referenced this pull request Nov 29, 2015
ENH: rounding for datetimelike Indexes/Scalars
@jreback jreback merged commit 50f9ae3 into pandas-dev:master Nov 29, 2015
@shoyer
Copy link
Member

shoyer commented Nov 30, 2015

looks great -- thanks!

elif self._ms:
return "ms"
return "L"
Copy link
Member

Choose a reason for hiding this comment

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

@jreback where do these 1-letter abbreviations come from? im trying to sort out all the many aliases we have floating around

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 Timezones Timezone data dtype
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ENH: add rounding method to DatetimeIndex/TimedeltaIndex
3 participants