7.3. cpforager.check.check_datetime_duplicates

cpforager.check.check_datetime_duplicates(df, verbose=True)

Check if the dataframe datetime column does not have duplicates.

Parameters:
  • df (pandas.DataFrame) – the dataframe with a datetime column.

  • verbose (bool) – display warning if True.

Returns:

True if the dataframe datetime column does not have duplicates.

Return type:

bool