arrow.csvread_options
Module for [CSVReadOptions] class
Types 3
Methods
CSVReadOptionsGidBuilder builder() static nothrowGet builder for [arrow.csvread_options.CSVReadOptions] Returns: New builder objectbool allowNewlinesInValues() @property nothrowGet `allowNewlinesInValues` property. Returns: Whether values are allowed to contain CR (0x0d) and LF (0x0a) characters.void allowNewlinesInValues(bool propval) @property nothrowSet `allowNewlinesInValues` property. Params: propval = Whether values are allowed to contain CR (0x0d) and LF (0x0a) characters.bool allowNullStrings() @property nothrowGet `allowNullStrings` property. Returns: Whether string / binary columns can have null values. If true, then strings in "null_values" are considered null for string columns. If false, then all str...void allowNullStrings(bool propval) @property nothrowSet `allowNullStrings` property. Params: propval = Whether string / binary columns can have null values. If true, then strings in "null_values" are considered null for string columns. If false, the...int blockSize() @property nothrowGet `blockSize` property. Returns: Block size we request from the IO layer; also determines the size of chunks when #GArrowCSVReadOptions:use-threads is true.void blockSize(int propval) @property nothrowSet `blockSize` property. Params: propval = Block size we request from the IO layer; also determines the size of chunks when #GArrowCSVReadOptions:use-threads is true.bool checkUtf8() @property nothrowGet `checkUtf8` property. Returns: Whether to check UTF8 validity of string columns.void checkUtf8(bool propval) @property nothrowSet `checkUtf8` property. Params: propval = Whether to check UTF8 validity of string columns.void delimiter(char propval) @property nothrowSet `delimiter` property. Params: propval = Field delimiter character.char escapeCharacter() @property nothrowGet `escapeCharacter` property. Returns: Escaping character. This is used only when #GArrowCSVReadOptions:is-escaped is true.void escapeCharacter(char propval) @property nothrowSet `escapeCharacter` property. Params: propval = Escaping character. This is used only when #GArrowCSVReadOptions:is-escaped is true.bool ignoreEmptyLines() @property nothrowGet `ignoreEmptyLines` property. Returns: Whether empty lines are ignored. If false, an empty line represents a simple empty value (assuming a one-column CSV file).void ignoreEmptyLines(bool propval) @property nothrowSet `ignoreEmptyLines` property. Params: propval = Whether empty lines are ignored. If false, an empty line represents a simple empty value (assuming a one-column CSV file).bool isDoubleQuoted() @property nothrowGet `isDoubleQuoted` property. Returns: Whether a quote inside a value is double quoted.void isDoubleQuoted(bool propval) @property nothrowSet `isDoubleQuoted` property. Params: propval = Whether a quote inside a value is double quoted.void isEscaped(bool propval) @property nothrowSet `isEscaped` property. Params: propval = Whether escaping is used.void isQuoted(bool propval) @property nothrowSet `isQuoted` property. Params: propval = Whether quoting is used.uint nSkipRows() @property nothrowGet `nSkipRows` property. Returns: The number of header rows to skip (not including the row of column names, if any)void nSkipRows(uint propval) @property nothrowSet `nSkipRows` property. Params: propval = The number of header rows to skip (not including the row of column names, if any)char quoteCharacter() @property nothrowGet `quoteCharacter` property. Returns: Quoting character. This is used only when #GArrowCSVReadOptions:is-quoted is true.void quoteCharacter(char propval) @property nothrowSet `quoteCharacter` property. Params: propval = Quoting character. This is used only when #GArrowCSVReadOptions:is-quoted is true.bool useThreads() @property nothrowGet `useThreads` property. Returns: Whether to use the global CPU thread pool.void useThreads(bool propval) @property nothrowSet `useThreads` property. Params: propval = Whether to use the global CPU thread pool.void addColumnName(string columnName) nothrowvoid addColumnType(string name, arrow.data_type.DataType dataType) nothrowAdd value type of a column.void addFalseValue(string falseValue) nothrowvoid addNullValue(string nullValue) nothrowvoid addTimestampParser(arrow.timestamp_parser.TimestampParser parser) nothrowvoid addTrueValue(string trueValue) nothrowstring[] getColumnNames() nothrowarrow.data_type.DataType[string] getColumnTypes() nothrowstring[] getFalseValues() nothrowstring[] getNullValues() nothrowstring[] getTrueValues() nothrowvoid setColumnNames(string[] columnNames) nothrowvoid setFalseValues(string[] falseValues) nothrowvoid setNullValues(string[] nullValues) nothrowvoid setTimestampParsers(arrow.timestamp_parser.TimestampParser[] parsers) nothrowvoid setTrueValues(string[] trueValues) nothrowFluent builder implementation template for arrow.csvread_options.CSVReadOptions
Methods
T allowNewlinesInValues(bool propval) nothrowSet `allowNewlinesInValues` property. Params: propval = Whether values are allowed to contain CR (0x0d) and LF (0x0a) characters. Returns: Builder instance for fluent chainingT allowNullStrings(bool propval) nothrowSet `allowNullStrings` property. Params: propval = Whether string / binary columns can have null values. If true, then strings in "null_values" are considered null for string columns. If false, the...T blockSize(int propval) nothrowSet `blockSize` property. Params: propval = Block size we request from the IO layer; also determines the size of chunks when #GArrowCSVReadOptions:use-threads is true. Returns: Builder instance for...T checkUtf8(bool propval) nothrowSet `checkUtf8` property. Params: propval = Whether to check UTF8 validity of string columns. Returns: Builder instance for fluent chainingT delimiter(char propval) nothrowSet `delimiter` property. Params: propval = Field delimiter character. Returns: Builder instance for fluent chainingT escapeCharacter(char propval) nothrowSet `escapeCharacter` property. Params: propval = Escaping character. This is used only when #GArrowCSVReadOptions:is-escaped is true. Returns: Builder instance for fluent chainingT generateColumnNames(bool propval) nothrowT ignoreEmptyLines(bool propval) nothrowSet `ignoreEmptyLines` property. Params: propval = Whether empty lines are ignored. If false, an empty line represents a simple empty value (assuming a one-column CSV file). Returns: Builder instan...T isDoubleQuoted(bool propval) nothrowSet `isDoubleQuoted` property. Params: propval = Whether a quote inside a value is double quoted. Returns: Builder instance for fluent chainingT isEscaped(bool propval) nothrowSet `isEscaped` property. Params: propval = Whether escaping is used. Returns: Builder instance for fluent chainingT isQuoted(bool propval) nothrowSet `isQuoted` property. Params: propval = Whether quoting is used. Returns: Builder instance for fluent chainingT nSkipRows(uint propval) nothrowSet `nSkipRows` property. Params: propval = The number of header rows to skip (not including the row of column names, if any) Returns: Builder instance for fluent chainingT quoteCharacter(char propval) nothrowSet `quoteCharacter` property. Params: propval = Quoting character. This is used only when #GArrowCSVReadOptions:is-quoted is true. Returns: Builder instance for fluent chainingT useThreads(bool propval) nothrowSet `useThreads` property. Params: propval = Whether to use the global CPU thread pool. Returns: Builder instance for fluent chainingFluent builder for arrow.csvread_options.CSVReadOptions
Methods