Lookup using datetimes does not work with hierarchical indices containing periods #4861
Labels
Bug
good first issue
Indexing
Related to indexing on series/frames, not to indexes themselves
Needs Tests
Unit test(s) needed to prevent regressions
Period
Period data type
Milestone
Lookup in a PeriodIndex using a datetime works as expected (the period in which the timestamp falls will be returned). However, when the PeriodIndex is part of a hierarchy, this functionality fails in a non-obvious way:
Using a period works just fine:
The text was updated successfully, but these errors were encountered: