ENH: partial string indexing on non-monotonic PeriodIndex by jbrockmendel · Pull Request #31096 · pandas-dev/pandas (original) (raw)

Looks like the DatetimeIndex analogue of this was done in #2437 (3a173f1)

This does not yet support two-sides slicing e.g. ser["2015":"2016"], but im hoping to get that handled before long.

Partial overlap with #31058, nothing should actually conflict.