📅  最后修改于: 2022-03-11 14:45:45.243000             🧑  作者: Mango
# credit to the Stack Overflow user in the source link
df.your_column.is_monotonic_increasing
# or
df.your_column.is_monotonic_decreasing