missing_columns

ketos.data_handling.selection_table.missing_columns(table, has_time=False)[source]

Check if the table has the minimum required columns.

Args:
table: pandas DataFrame

Annotation table.

has_time: bool

Require time information for each annotation, i.e. start and stop times.

Returns:
mis: list

List of missing columns, if any.