pandas.Series.is_monotonic_decreasing — pandas 3.0.0.dev0+2100.gf496acffcc documentation (original) (raw)

property Series.is_monotonic_decreasing[source]#

Return True if values in the object are monotonically decreasing.

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