-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
slicing dataframe with date index is not working properly #10406
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
conceptually similar to #10408. I suppose one could call this a bug, and if you'd like to dig-in would take a fix. |
@jreback I don't know if we should call this a bug. Indexing with a I see the potential confusion in a different result of |
@jorisvandenbossche hmm, good point. Yeh string indexing encompases internals, but so
Introducing objects that expand into a slice then would be a fairly big API change. |
Yes, indeed. Therefore I would close this as not-a-bug. |
Agreed that partial string indexing should be reserved for datetime strings only. Closing as this would provide too much API creep. |
When slicing data time - indexed dataframe with date in string format, it works:
But when i try it with a date object, of datetime class , it slices only for time 00:00:00.
The text was updated successfully, but these errors were encountered: