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