pyarrow.csv.ConvertOptions¶
-
class
pyarrow.csv.
ConvertOptions
(check_utf8=None, column_types=None, null_values=None)¶ Bases:
object
Options for converting CSV data.
Parameters: - check_utf8 (bool, optional (default True)) – Whether to check UTF8 validity of string columns.
- column_types (dict, optional) – Map column names to column types (disabling type inference on those columns).
- null_values (list, optional) – A sequence of strings that denote nulls in the data (defaults are appropriate in most cases).
-
__init__
()¶ Initialize self. See help(type(self)) for accurate signature.
Attributes
check_utf8
Whether to check UTF8 validity of string columns. column_types
Map column names to column types (disabling type inference on those columns). null_values
A sequence of strings that denote nulls in the data. -
check_utf8
¶ Whether to check UTF8 validity of string columns.
-
column_types
¶ Map column names to column types (disabling type inference on those columns).
-
null_values
¶ A sequence of strings that denote nulls in the data.