CsvSource
- class coba.environments.CsvSource
Load a csv dataset.
This is primarily used by SupervisedSimulation to create Environments for Experiments.
Constructors
- __init__(source: str | Source[Iterable[str]], has_header: bool = False, **dialect) None
Instantiate a CsvSource.
- Parameters:
source – The data source. Accepts either a string representing the source location or another Source.
has_header – Indicates if the CSV files has a header row.
Methods
- read() Iterable[Dense]
Read and parse the csv source.
Attributes
- params
Parameters describing the csv source.