PeriodIndex.is_monotonic only for monotonic increasing · Issue #21335 · pandas-dev/pandas (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Description
dti = pd.date_range('2016-01-01', periods=3)
pi = dti.to_period('D')
>>> pi.is_monotonic
True
>>> pi[::-1].is_monotonic
False
Metadata
Metadata
Labels
Development
No branches or pull requests