gather_technology_info

gather_technology_info#

powerplantmatching.cleaning.gather_technology_info(df, search_col=['Name', 'Fueltype', 'Technology', 'Set'], config=None)#

Parses in a set of columns for distinct technology specifications.

This function uses the mappings (key -> regex pattern) given by the config under the section target_technologies. The representative keys are set if any of the columns in search_col matches the regex pattern.

Parameter#

dfpandas.DataFrame

DataFrame to be parsed.

search_collist, default is [“Name”, “Fueltype”, “Technology”, “Set”]

Set of columns to be parsed. Must be in df.

configdict, default None

Custom configuration, defaults to powerplantmatching.config.get_config().

Deprecated since version 0.5: This will be removed in 0.6. Use gather_specifications instead.