use_multi_indexing
- ketos.data_handling.selection_table.use_multi_indexing(df, level_1_name)[source]
Change from single-level indexing to double-level indexing.
The first index level is the filename while the second index level is a cumulative integer.
- Args:
- table: pandas DataFrame
Singly-indexed table. Must contain a column named ‘filename’.
- Returns:
- table: pandas DataFrame
Multi-indexed table.