7.2. cpforager.check.check_datetime_order
- cpforager.check.check_datetime_order(df, verbose=True)
Check if the dataframe
datetime
column is sorted.- Parameters:
df (pandas.DataFrame) – the dataframe with a
datetime
column.verbose (bool) – display warning if True.
- Returns:
True if the dataframe
datetime
column is sorted.- Return type:
bool