7. Checks

Functions used to check if datetime is ok.

check.check_datetime_type(df[, verbose])

Check if the dataframe datetime column type is datetime64.

check.check_datetime_order(df[, verbose])

Check if the dataframe datetime column is sorted.

check.check_datetime_duplicates(df[, verbose])

Check if the dataframe datetime column does not have duplicates.

check.check_datetime_range(df[, verbose])

Check if the dataframe datetime column cover a realistic range, i.e. bigger than 12 hours and smaller than 30 days.

check.check_datetime(df[, verbose])

Check if the dataframe datetime column is ok overall.

check.check_longitude_latitude(df[, verbose])

Check if longitude and latitude columns do not only contain NaN values.

check.check_trip_existence(df[, verbose])

Check if dataframe has at least one trip.

check.check_trip_interruption(df[, verbose])

Check if trip recording is interrupted.

check.check_gps(df[, verbose])

Check if the gps data is ok overall.

check.check_pressure_temperature(df[, verbose])

Check if pressure and temperature columns do not only contain NaN values.

check.check_tdr(df[, verbose])

Check if the tdr data is ok overall.

check.check_accelerations(df[, verbose])

Check if ax, ay and az columns do not only contain NaN values.

check.check_acc(df[, verbose])

Check if the acceleration data is ok overall.