DashAI.back.dataloaders.CSVDataLoader
- class CSVDataLoader[source]
Data loader for tabular data in CSV files.
- __init__()
Methods
__init__()extract_files(file_path, temp_path)Extract the files to load the data in a DataDict later.
get_schema()Generates the component related Json Schema.
load_data(filepath_or_buffer, temp_path, params)Load the uploaded CSV files into a DatasetDict.
prepare_files(file_path, temp_path)Prepare the files to load the data.
validate_and_transform(raw_data)It takes the data given by the user to initialize the model and returns it with all the objects that the model needs to work.
Attributes
COMPATIBLE_COMPONENTSDESCRIPTIONDISPLAY_NAMETYPE