shapelets.DataSet.rename_columns#

DataSet.rename_columns(new_names: Dict[Union[int, str], str]) DataSet#

Renames the columns in a DataSet

Note

Column names are case insensitive

Parameters:
new_names: dictionary

Maps existing columns to new columns. Existing columns may be referenced by position or by name.

Returns:
DataSet

A new DataSet instance where original columns have been renamed to new column names.