libcudf
24.04.00
|
Builder to build options for read_csv()
.
More...
#include <csv.hpp>
Public Member Functions | |
csv_reader_options_builder ()=default | |
Default constructor. More... | |
csv_reader_options_builder (source_info src) | |
Constructor from source info. More... | |
csv_reader_options_builder & | compression (compression_type comp) |
Sets compression format of the source. More... | |
csv_reader_options_builder & | byte_range_offset (std::size_t offset) |
Sets number of bytes to skip from source start. More... | |
csv_reader_options_builder & | byte_range_size (std::size_t size) |
Sets number of bytes to read. More... | |
csv_reader_options_builder & | names (std::vector< std::string > col_names) |
Sets names of the column. More... | |
csv_reader_options_builder & | prefix (std::string pfx) |
Sets prefix to be used for column ID. More... | |
csv_reader_options_builder & | mangle_dupe_cols (bool val) |
Sets whether to rename duplicate column names. More... | |
csv_reader_options_builder & | use_cols_names (std::vector< std::string > col_names) |
Sets names of the columns to be read. More... | |
csv_reader_options_builder & | use_cols_indexes (std::vector< int > col_indices) |
Sets indexes of columns to read. More... | |
csv_reader_options_builder & | nrows (size_type rows) |
Sets number of rows to read. More... | |
csv_reader_options_builder & | skiprows (size_type skip) |
Sets number of rows to skip from start. More... | |
csv_reader_options_builder & | skipfooter (size_type skip) |
Sets number of rows to skip from end. More... | |
csv_reader_options_builder & | header (size_type hdr) |
Sets header row index. More... | |
csv_reader_options_builder & | lineterminator (char term) |
Sets line terminator. More... | |
csv_reader_options_builder & | delimiter (char delim) |
Sets field delimiter. More... | |
csv_reader_options_builder & | thousands (char val) |
Sets numeric data thousands separator. More... | |
csv_reader_options_builder & | decimal (char val) |
Sets decimal point character. More... | |
csv_reader_options_builder & | comment (char val) |
Sets comment line start character. More... | |
csv_reader_options_builder & | windowslinetermination (bool val) |
Sets whether to treat \r\n as line terminator. More... | |
csv_reader_options_builder & | delim_whitespace (bool val) |
Sets whether to treat whitespace as field delimiter. More... | |
csv_reader_options_builder & | skipinitialspace (bool val) |
Sets whether to skip whitespace after the delimiter. More... | |
csv_reader_options_builder & | skip_blank_lines (bool val) |
Sets whether to ignore empty lines or parse line values as invalid. More... | |
csv_reader_options_builder & | quoting (quote_style style) |
Sets quoting style. More... | |
csv_reader_options_builder & | quotechar (char ch) |
Sets quoting character. More... | |
csv_reader_options_builder & | doublequote (bool val) |
Sets a quote inside a value is double-quoted. More... | |
csv_reader_options_builder & | parse_dates (std::vector< std::string > col_names) |
Sets names of columns to read as datetime. More... | |
csv_reader_options_builder & | parse_dates (std::vector< int > col_indices) |
Sets indexes of columns to read as datetime. More... | |
csv_reader_options_builder & | parse_hex (std::vector< std::string > col_names) |
Sets names of columns to parse as hexadecimal. More... | |
csv_reader_options_builder & | parse_hex (std::vector< int > col_indices) |
Sets indexes of columns to parse as hexadecimal. More... | |
csv_reader_options_builder & | dtypes (std::map< std::string, data_type > types) |
Sets per-column types. More... | |
csv_reader_options_builder & | dtypes (std::vector< data_type > types) |
Sets per-column types. More... | |
csv_reader_options_builder & | true_values (std::vector< std::string > vals) |
Sets additional values to recognize as boolean true values. More... | |
csv_reader_options_builder & | false_values (std::vector< std::string > vals) |
Sets additional values to recognize as boolean false values. More... | |
csv_reader_options_builder & | na_values (std::vector< std::string > vals) |
Sets additional values to recognize as null values. More... | |
csv_reader_options_builder & | keep_default_na (bool val) |
Sets whether to keep the built-in default NA values. More... | |
csv_reader_options_builder & | na_filter (bool val) |
Sets whether to disable null filter. More... | |
csv_reader_options_builder & | dayfirst (bool val) |
Sets whether to parse dates as DD/MM versus MM/DD. More... | |
csv_reader_options_builder & | timestamp_type (data_type type) |
Sets timestamp_type to which all timestamp columns will be cast. More... | |
operator csv_reader_options && () | |
move csv_reader_options member once it's built. | |
csv_reader_options && | build () |
move csv_reader_options member once it's built. More... | |
Builder to build options for read_csv()
.
|
default |
Default constructor.
This has been added since Cython requires a default constructor to create objects on stack.
|
inline |
|
inline |
move csv_reader_options member once it's built.
This has been added since Cython does not support overloading of conversion operators.
csv_reader_options
object's r-value reference
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |