groupby#
- TrackData.groupby(column)[source]#
Splits tracks into groups based on a metadata column.
This method splits the tracks in the
TrackDataobject into separateTrackDataobjects based on the unique values in the specified metadata column. It returns a dictionary where the keys are the unique values in the column, and the values are newTrackDataobjects containing the tracks corresponding to each key.