bulum.io.general_io module
General use IO functions.
- read(filename: str | PathLike, **kwargs) TimeseriesDataframe
Read a timeseries file, dispatching to the appropriate reader based on file extension.
Supported formats:
.res.csv,.csv,.idx, and IQQM listquan outputs (e.g..01d).- Parameters:
filename (str or PathLike) – Path to the file to read.
**kwargs – Passed through to the underlying reader function.
- Return type:
utils.TimeseriesDataframe
- Raises:
ValueError – If the file extension is not recognised, or if a
.res.csvfile cannot be parsed.