reduce_matched_dataframe

reduce_matched_dataframe#

powerplantmatching.matching.reduce_matched_dataframe(df, show_orig_names=False, config=None)#

Reduce a matched dataframe to a unique set of columns. For each entry take the value of the most reliable data source included in that match.

Parameters:

df (pandas.Dataframe) – MultiIndex dataframe with the matched powerplants, as obtained from combined_dataframe() or match_multiple_datasets()