Answers for "pandas check if column is sorted"

0

pandas check if column is sorted

# credit to the Stack Overflow user in the source link

df.your_column.is_monotonic_increasing 
# or 
df.your_column.is_monotonic_decreasing
Posted by: Guest on August-25-2021

Code answers related to "pandas check if column is sorted"

Python Answers by Framework

Browse Popular Code Answers by Language