-
-
Notifications
You must be signed in to change notification settings - Fork 18.3k
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
ENH: Add Index.normalize as a Series or DataFrame method #5502
Comments
related #4551 |
What are you expecting normalize to do? Surely it would make more sense for it to be the following:
|
If we are going down that route, I would argue that |
I think similar to Series string methods, we should put DatetimeIndex methods (like normalize) in a class. I'm not sure these make sense in DataFrame but certainly useful for Series. |
I just went looking for a normalize function, expecting |
-1, the API is too big as it is, plus it isn't obvious that it refers to the index and not the data |
yep we already have .dt to direct this |
Currently
normalize
does not work on aSeries
or aDataFrame
:However, changing the timezone, which I consider to be a similar type of operation, does work:
My current workaround:
The text was updated successfully, but these errors were encountered: