rename_empkins#
- pepbench.data_handling.utils.rename_empkins(data: DataFrame) DataFrame[source]#
Rename the data from the
EmpkinsDataset.The renaming is performed according to the condition (tsst -> TSST, ftsst -> f-TSST) and phase (Prep -> Preparation, Pause_1 -> Pause 1, Talk -> Talk, Math -> Math, Pause_5 -> Pause 5) mappings.
- Parameters:
- data
pandas.DataFrame Data from the
EmpkinsDataset.
- data
- Returns:
pandas.DataFrameRenamed data from the
EmpkinsDataset.