pandas.Index.is_monotonic_increasing#
- свойство Индекс.is_monotonic_increasing[источник]#
Возвращает булево значение, если значения равны или возрастают.
- Возвращает:
- bool
Смотрите также
Index.is_monotonic_decreasingПроверить, равны или убывают ли значения.
Примеры
>>> pd.Index([1, 2, 3]).is_monotonic_increasing True >>> pd.Index([1, 2, 2]).is_monotonic_increasing True >>> pd.Index([1, 3, 2]).is_monotonic_increasing False