modin.pandas.Index.is_monotonic_decreasing

property Index.is_monotonic_decreasing: bool[source]

Return a boolean if the values are equal or decreasing.

Returns:

Whether the values are equal or decreasing

Return type:

bool

See also

Index.is_monotonic_increasing

Check if the values are equal or increasing

Examples

>>> 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
Copy