query_labeled
- ketos.data_handling.selection_table.query_labeled(table, filename=None, label=None, start=None, end=None)[source]
Query selection table for selections from certain audio files and/or with certain labels.
- Args:
- table: pandas DataFrame
Annotations table or Selections table with a ‘label’ column.
- filename: str or list(str)
Filename(s)
- label: int or list(int)
Label(s)
- start: float
Earliest end time in seconds
- end: float
Latest start time in seconds
- Returns:
df: pandas DataFrame Selection table