CsvOptions(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Describes CSV and similar semi-structured data formats.
Attributes |
|
---|---|
Name | Description |
header_rows |
int
Optional. The number of rows to interpret as header rows that should be skipped when reading data rows. |
delimiter |
str
Optional. The delimiter that is used to separate values. The default is , (comma).
|
encoding |
str
Optional. The character encoding of the data. The default is UTF-8. |
type_inference_disabled |
bool
Optional. Whether to disable the inference of data types for CSV data. If true, all columns are registered as strings. |
quote |
str
Optional. The character used to quote column values. Accepts " (double quotation mark) or ' (single quotation
mark). If unspecified, defaults to " (double quotation
mark).
|