Turi Create  4.0
turi::csv_file_handling_options Struct Reference

#include <core/storage/sframe_data/parallel_csv_parser.hpp>

Public Attributes

bool use_header = true
 Whether the first (non-commented) line of the file is the column name header.
 
bool continue_on_failure = false
 Whether we should just skip line errors.
 
bool store_errors = false
 Whether failed parses will be stored in an sarray of strings and returned.
 
std::map< std::string, flex_type_enumcolumn_type_hints
 collection of column name->type. Every other column type will be parsed as a string
 
std::vector< std::string > output_columns
 Output column names.
 
size_t row_limit = 0
 The number of rows to read. If 0, all lines are read.
 
size_t skip_rows = 0
 Number of rows at the start of each file to ignore.
 

Detailed Description

All the options pertaining to top level CSV file handling

Definition at line 33 of file parallel_csv_parser.hpp.


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