Skip to main content
`Ctrl`+`K`

# pandas.api.typing.SeriesGroupBy.is_monotonic_increasing

property SeriesGroupBy.is_monotonic_increasing

  Return whether each group’s values are monotonically increasing.

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

  Returns:
    Series

  See also

  `SeriesGroupBy.is_monotonic_decreasing`

    Return whether each group’s values are monotonically decreasing.

  Examples

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