Loader
This module provides functionality to load numerical datasets from supported formats.
- datalizer.loader.load_data(file_path: str) DataFrame
Load a dataset from a file into a pandas DataFrame.
- Parameters:
file_path (str) – Path to the dataset file. Supported formats: .csv, .xlsx, .json
- Returns:
Loaded DataFrame
- Return type:
pd.DataFrame
- Raises:
FileNotFoundError – If the file doesn’t exist.
ValueError – If the file extension is unsupported or reading fails. If non-numeric data is present.