CSVTensorLoaderOptions
CSVTensorLoaderOptions
Options for loading TensorData from CSV. More…
#include <Tensor_Data_CSV.hpp>
Public Attributes
| Name | |
|---|---|
| std::string | filepath |
| std::string | delimiter |
| bool | has_header |
Detailed Description
struct CSVTensorLoaderOptions;Options for loading TensorData from CSV.
The CSV file is expected to have:
- A header row with column names (first column is the row label)
- One data row per tensor row, with the row label in the first column
Row types are auto-detected from the first data row:
- If the first cell contains a ‘-’ character, it is parsed as an interval
- If it is a plain integer, it is parsed as a TimeFrameIndex
- Otherwise it is treated as ordinal
Public Attributes Documentation
variable filepath
std::string filepath;variable delimiter
std::string delimiter = ",";variable has_header
bool has_header = true;Updated on 2026-11-13 at 20:25:39 +0000