tseda.dataloader.local_dataloader module

Base CSV data-loading utility.

class tseda.dataloader.local_dataloader.LocalDataLoader(file_path: str)[source]

Bases: object

Load tabular data from a local CSV file into a pandas DataFrame.

Store the file path for later use by load_data().

Parameters:

file_path – Path to the CSV file to load.

__init__(file_path: str)[source]

Store the file path for later use by load_data().

Parameters:

file_path – Path to the CSV file to load.

load_data() pandas.DataFrame[source]

Load data from a local CSV file.

Returns:

DataFrame containing CSV contents, or an empty DataFrame when the file is missing, empty, or unreadable.