tedana.selection.selection_utils.clean_dataframe
- clean_dataframe(component_table)[source]
Reorder columns in component table.
The reordering is done so that “classification” and “classification_tags” are last.
- Parameters:
component_table ((C x M)
pandas.DataFrame
) – Component metric table. One row for each component, with a column for each metric- Returns:
component_table ((C x M)
pandas.DataFrame
) – Same data as input, but the final two columns are “classification” and “classification_tags”