8#include <unordered_map>
68 std::type_index&
operator[](
const std::string& colName) {
69 auto result =
columnTypes.emplace(colName, std::type_index(
typeid(
void)));
70 return result.first->second;
Options describing how to interpret or write CSV data.
std::type_index & operator[](const std::string &colName)
Access or insert the type entry for a given column name.
std::type_index indexType
Type used for the DataFrame index.
std::unordered_map< std::string, std::type_index > columnTypes
Mapping from column name to its declared C++ type.
bool hasIndex
True if the CSV representation contains a separate index column.