7.1. cpforager.check.check_datetime_type

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

Check if the dataframe datetime column type is datetime64.

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

  • verbose (bool) – display warning if True.

Returns:

True if the dataframe datetime column type is datetime64.

Return type:

bool