ketos
Acoustic signal detection and classification with deep neural nets
2.7
Introduction
Developers
Installation
Tutorials
Modules
Data Handling
Audio Processing
Overview
Base Audio
Waveform
Spectrogram
Audio Loader
Annotation
AnnotationHandler
add_index_level
convert
convert_to_Hz
convert_to_sec
stack_annotations
Gammatone
Utilities
Neural networks
Utilities
How to contribute
Versions
ketos
ketos API
Audio Processing
Annotation
add_index_level
View page source
add_index_level
ketos.audio.annotation.
add_index_level
(
df
,
key
=
0
)
[source]
Ensure the DataFrame has at least two indexing levels.
Args:
df: pandas DataFrame
Input DataFrame
Returns:
df: pandas DataFrame
Output DataFrame