takane
Validators for ArtifactDB file formats
Loading...
Searching...
No Matches
takane::csv_data_frame::Parameters Struct Reference

Parameters for validating the CSV data frame. More...

#include <csv_data_frame.hpp>

Public Attributes

size_t num_rows = 0
 
bool has_row_names = false
 
WrappedOption< std::vector< data_frame::ColumnDetails > > columns
 
bool parallel = false
 
int df_version = 2
 

Detailed Description

Parameters for validating the CSV data frame.

Member Data Documentation

◆ columns

WrappedOption<std::vector<data_frame::ColumnDetails> > takane::csv_data_frame::Parameters::columns

Details about the expected columns of the data frame, in order.

◆ df_version

int takane::csv_data_frame::Parameters::df_version = 2

Version of the data_frame format.

◆ has_row_names

bool takane::csv_data_frame::Parameters::has_row_names = false

Whether the data frame contains row names.

◆ num_rows

size_t takane::csv_data_frame::Parameters::num_rows = 0

Number of rows in the data frame.

◆ parallel

bool takane::csv_data_frame::Parameters::parallel = false

Whether to load and parse the file in parallel, see comservatory::ReadOptions for details.


The documentation for this struct was generated from the following file: