CsvDataset does not have option for csv_root and csv_file, like Stochastic pair in eddata
I wanted to use the csv files generated for use with the Stochastic Pair class
https://github.com/pesser/eddata/blob/8d18996a6d7d82ed6c6ffbe6c89b3d6d1c816f53/eddata/stochastic_pair/init.py#L18
But only use the much more simple CsvDataset. The problem is that the interface is different.
The StochasticPair expects a config object with path to the csv and a root path to prepend to the paths in the csv.
The CsvDataset expects the path to the csv, but does not ask if there is a root path from where to interpret the path in the csv file. Thus, all paths in the csv have to be absolute paths or from the cwd.
Describe the solution you'd like
I would like to have a unified interface so that I can reuse my csv files for the normal CsvDataset and the StochasticPair
Describe alternatives you've considered None