Utils
- table_evaluator.utils.load_data(path_real: str, path_fake: str, real_sep: str = ',', fake_sep: str = ',', drop_columns: List | None = None) Tuple[DataFrame, DataFrame]
Load data from a real and synthetic data csv. This function makes sure that the loaded data has the same columns with the same data types.
- Parameters:
path_real – string path to csv with real data
path_fake – string path to csv with real data
real_sep – separator of the real csv
fake_sep – separator of the fake csv
drop_columns – names of columns to drop.
- Returns:
Tuple with DataFrame containing the real data and DataFrame containing the synthetic data.