Table Of Contents

Search

Enter search terms or a module, class or function name.

pandas.DatetimeIndex.is_monotonic_increasing

DatetimeIndex.is_monotonic_increasing

return if the index is monotonic increasing (only equal or increasing) values.

Examples

>>> Index([1, 2, 3]).is_monotonic_increasing
True
>>> Index([1, 2, 2]).is_monotonic_increasing
True
>>> Index([1, 3, 2]).is_monotonic_increasing
False
Scroll To Top