tobac.utils.general.combine_tobac_feats#
- tobac.utils.general.combine_tobac_feats(list_of_feats, preserve_old_feat_nums=None)#
WARNING: This function has been deprecated and will be removed in a future release, please use ‘combine_feature_dataframes’ instead
Function to combine a list of tobac feature detection dataframes into one combined dataframe that can be used for tracking or segmentation.
- Parameters:
list_of_feats (array-like of Pandas DataFrames) – A list of dataframes (generated, for example, by running feature detection on multiple nodes).
preserve_old_feat_nums (str or None) – The column name to preserve old feature numbers in. If None, these old numbers will be deleted. Users may want to enable this feature if they have run segmentation with the separate dataframes and therefore old feature numbers.
- Returns:
One combined DataFrame.
- Return type:
pd.DataFrame