pandas.Index.is_monotonic_decreasing
- propertyIndex.is_monotonic_decreasing[source]
-
Возвращает булево значение, если значения равны или убывают.
- Возвращает:
-
- bool
См. также
Index.is_monotonic_increasing-
Проверить, являются ли значения равными или возрастающими.
Примеры
>>> pd.Index([3, 2, 1]).is_monotonic_decreasing True >>> pd.Index([3, 2, 2]).is_monotonic_decreasing True >>> pd.Index([3, 1, 2]).is_monotonic_decreasing 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_decreasing.html