modin.pandas.Index.is_monotonic_decreasing

property Index.is_monotonic_decreasing: bool[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.26.0/snowpark-python/src/snowflake/snowpark/modin/plugin/extensions/index.py#L369-L371)

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
Language: English