Skip to main content
`Ctrl`+`K`

# pandas.api.typing.SeriesGroupBy.is_monotonic_decreasing

property SeriesGroupBy.is_monotonic_decreasing

  Return whether each group’s values are monotonically decreasing.

  A group is considered monotonically decreasing if each successive element is less than or equal to the previous one.

  Returns:
    Series

  See also

  `SeriesGroupBy.is_monotonic_increasing`

    Return whether each group’s values are monotonically increasing.

  Examples

      >>> s = pd.Series([2, 1, 3, 4], index=["Falcon", "Falcon", "Parrot", "Parrot"])
      >>> s.groupby(level=0).is_monotonic_decreasing
      Falcon     True
      Parrot    False
      dtype: bool