modin.pandas.Index.is_monotonic_increasing

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

Return a boolean if the values are equal or increasing.

Returns:

Whether the values are equal or increasing

Return type:

bool

See also

Index.is_monotonic_decreasing

Check if the values are equal or decreasing

Examples

>>> pd.Index([1, 2, 3]).is_monotonic_increasing
True
>>> pd.Index([1, 2, 2]).is_monotonic_increasing
True
>>> pd.Index([1, 3, 2]).is_monotonic_increasing
False
Copy
Language: English