xarray.CFTimeIndex.is_monotonic_decreasing#
- property CFTimeIndex.is_monotonic_decreasing#
Return a boolean if the values are equal or decreasing.
- Returns
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