rename_columns

ketos.data_handling.selection_table.rename_columns(table, mapper)[source]

Renames the table headings to conform with the ketos naming convention.

Args:
table: pandas DataFrame

Annotation table.

mapper: dict

Dictionary mapping the headings of the input table to the standard ketos headings.

Returns:
: pandas DataFrame

Table with new headings