tabensemb.data.datamodule.DataModule.load_data#
method
- DataModule.load_data(data_path: str | None = None, save_path: str | None = None, **kwargs) None[source]#
Load tabular data. Either a .csv or .xlsx file is supported.
- Parameters:
- data_path
Path to the tabular data. By default, the file
tabensemb.setting["default_data_path"]/{database}.csv(.xlsx)is loaded where “database” is given in the configuration.- save_path
Path to save the loaded data.
- **kwargs
Arguments for
pd.read_excelorpd.read_csv.