socio4health.Harmonizer.compare_with_dict#

Harmonizer.compare_with_dict(ddfs: List[DataFrame]) DataFrame[source]#

Compare the columns available in the DataFrames with the variables in the dictionary and return a DataFrame with the columns that do not match in both directions.

Parameters:

ddfs (list of dask.dataframe.DataFrame) – List of DataFrames to evaluate.

Returns:

DataFrame with mismatched columns.

Return type:

pd.DataFrame