Dataset.import_data_from_csv

Dataset.import_data_from_csv(file_path: str, custom_mapping: Dict[str, str | List[str]] | None = None) None[source]

Import data from a csv file into the dataset.

Parameters:
  • file_path (str) – Path to the csv file.

  • custom_mapping (Dict[str, Union[str, List[str]]], optional) – A dictionary mapping the names of DataObjects in the Dataset to the names of the columns in the CSV file. For multidimensional DataObjects, a list of column names can be provided. If None, the names of the DataObjects must match the names of the columns in CSV file.

Notes

See aixd.data.default_importer.df_importer() for more information.