pyarrow.csv.InvalidRow¶
- class pyarrow.csv.InvalidRow(expected_columns, actual_columns, number, text)¶
Bases:
_InvalidRow
Description of an invalid row in a CSV file.
- Parameters:
- __init__(*args, **kwargs)¶
Methods
__init__
(*args, **kwargs)count
(value, /)Return number of occurrences of value.
index
(value[, start, stop])Return first index of value.
Attributes
Alias for field number 1
Alias for field number 0
Alias for field number 2
Alias for field number 3
- actual_columns¶
Alias for field number 1
- count(value, /)¶
Return number of occurrences of value.
- expected_columns¶
Alias for field number 0
- index(value, start=0, stop=sys.maxsize, /)¶
Return first index of value.
Raises ValueError if the value is not present.
- number¶
Alias for field number 2
- text¶
Alias for field number 3