-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Problem
Currently, it is not possible to apply a processing function of audinterface.Process
or audinterface.Feature
to a DataFrame
object.
Such a method would be meaningful, as process_index()
cannot be efficiently used when a Segment
object is passed as segment
argument, because labels need to be carried to the resulting dataframe (the resulting index after segmentation has typically additional rows).
Solution
A new method process_dataframe()
could solve this.
- If no segmentation is required, the behaviour is very similar to
process_index()
, but all labels are kept and attached to the output. - If a segmentation is required, for each row in the input, the labels are duplicated and attached to all corresponding rows at the output.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request