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,trialare missing from the DataFrame columns, or if any row is missing a value in one ofREQUIRED_NONNULL_COLUMNS(offset_saside, since a point event’s is legitimately blank).- Return type: