pandas.Index.is_monotonic_decreasing#

property Index.is_monotonic_decreasing#

如果索引是单调递减(仅等于或递减)值,则返回。

示例

>>> Index([3, 2, 1]).is_monotonic_decreasing
True
>>> Index([3, 2, 2]).is_monotonic_decreasing
True
>>> Index([3, 1, 2]).is_monotonic_decreasing
False