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:
datapandas.DataFrame

Data from the EmpkinsDataset.

Returns:
pandas.DataFrame

Renamed data from the EmpkinsDataset.