-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
partial slicing FAILS with a datetimeindex #13539
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
Labels
Datetime
Datetime data dtype
Duplicate Report
Duplicate issue or pull request
Indexing
Related to indexing on series/frames, not to indexes themselves
MultiIndex
Comments
pls follow the instructions and submit the versions and a minimal example that reproduces |
|
Am I misunderstanding something here? |
duplicated by #12896, closed by #13117
|
damn I was proud of finding a cool bug, you destroyed my dreams |
@randomgambit But anyway, thanks for reporting! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Datetime
Datetime data dtype
Duplicate Report
Duplicate issue or pull request
Indexing
Related to indexing on series/frames, not to indexes themselves
MultiIndex
Hi,
I have a simple dataframe with a multiindex.
day is a time variable, category is a string.
if I type
I get the correct slice at '2015-01-01', that is all the observations for all the categories on that day.
If I type
I get back (almost) all my observations, even for years other than 2015.
What can be the problem here? I cannot paste the data unfortunately but I am happy to help in any way.
Thanks
The text was updated successfully, but these errors were encountered: