pandas.Index.is_monotonic_increasing
- propertyIndex.is_monotonic_increasing[source]
-
Возвращает булево значение, если значения равны или возрастают.
- Returns:
-
- 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
© 2008–2022, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/2.2.2/reference/api/pandas.Index.is_monotonic_increasing.html