modin.pandas.Series.is_monotonic_increasing¶
- property Series.is_monotonic_increasing[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.23.0/../../../../../opt/hostedtoolcache/Python/3.9.20/x64/lib/python3.9/site-packages/modin/pandas/series.py#L2177-L2182)¶
Return boolean if values in the object are monotonically increasing.
- Returns:
Whether or not the Series is monotonically increasing.
- Return type:
bool
Examples
>>> s = pd.Series([1, 2, 2]) >>> s.is_monotonic_increasing True
>>> s = pd.Series([3, 2, 1]) >>> s.is_monotonic_increasing False