src.system.data_sources.data_source.file_csv.DataSourceCsvFile

class src.system.data_sources.data_source.file_csv.DataSourceCsvFile(path: str)

Abstract data source for a CSV file. Inherit this class to implement a custom CSV file data source.

Inheritance Diagram

Inheritance diagram of DataSourceCsvFile

Variables & Properties

Methods

__init__(path)

Constructor method.

Details

__init__(path: str)

Constructor method. Loads data from a CSV file into the cache.

Parameters:

path – Path to CSV file.

cache: DataFrame

Internal cache, populated at runtime.