-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Correction in DatetimeIndex in Time Series documentation #2554
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
Comments
This works on master and 0.9.1 for me. Can you show me a standalone reproduction of how it's not working for you? |
Now I see where I misunderstood it. The examples were all I guess I just assumed that it the example was true for any data structure with a Datetime index. |
Ah i see. Yeah, |
It would be wonderful to have this feature for data frames as well. |
this is in 0.11.0 via #3137 |
In the Time Series documentation (http://pandas.pydata.org/pandas-docs/stable/timeseries.html), DatetimeIndex is said to have the following functionality:
I have tried it out in pandas 0.9.1 but it doesn't work.
What does work is
ts.ix['2011']
andts.ix['2011-6]
. I hope you correct this misleading mistake. There are a couple more examples of these on that page so please check it out.The text was updated successfully, but these errors were encountered: