8. Checks

Functions used to verify the data validity.

checks.check_datetime_type(df[, verbose])

Check if the dataframe datetime column type is datetime64.

checks.check_datetime_order(df[, verbose])

Check if the dataframe datetime column is sorted.

checks.check_datetime_duplicates(df[, verbose])

Check if the dataframe datetime column does not have duplicates.

checks.check_datetime_range(df[, verbose])

Check if the dataframe datetime column cover a realistic range.

checks.check_datetime(df[, verbose])

Check if the dataframe datetime column is ok overall.

checks.check_longitude_latitude(df[, verbose])

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

checks.check_trip_existence(df[, verbose])

Check if dataframe contains at least one trip.

checks.check_trip_interruption(df[, verbose])

Check if trip recording is interrupted.

checks.check_gps(df[, verbose])

Check if the gps data is ok overall.

checks.check_pressure_temperature(df[, verbose])

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

checks.check_tdr(df[, verbose])

Check if the tdr data is ok overall.

checks.check_accelerations(df[, verbose])

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

checks.check_acc(df[, verbose])

Check if the acceleration data is ok overall.