dask.dataframe.Index.is_monotonic_decreasing

dask.dataframe.Index.is_monotonic_decreasing#

property Index.is_monotonic_decreasing#

Return True if values in the object are monotonically decreasing.

This docstring was copied from pandas.Series.is_monotonic_decreasing.

Some inconsistencies with the Dask version may exist.

Returns:
bool

See also

Series.is_monotonic_increasing

Return boolean if values in the object are monotonically increasing.

Examples

>>> s = pd.Series([3, 2, 2, 1])
>>> s.is_monotonic_decreasing
True
>>> s = pd.Series([1, 2, 3])
>>> s.is_monotonic_decreasing
False