validate_labels_tsv#

ethograph.labels.tsv_store.validate_labels_tsv(df, path='')[source]#

Validate that a labels DataFrame has all required columns and values.

Raises:

ValueError – If any of onset_s, offset_s, labels, individual, trial are missing from the DataFrame columns, or if any row is missing a value in one of REQUIRED_NONNULL_COLUMNS (offset_s aside, since a point event’s is legitimately blank).

Return type:

None