clean_name#
- powerplantmatching.cleaning.clean_name(df, config=None)#
Clean the name of a power plant list.
Cleans the column “Name” of the database by deleting very frequent words and nonalphanumerical characters of the column. Returns a reduced dataframe with nonempty Name-column.
- Parameters:
df (pandas.Dataframe) – dataframe to be cleaned
config (dict, default None) – Custom configuration, defaults to powerplantmatching.config.get_config().