Table
Table(*args, **kwargs)A table of data read from a CSV file.
This class implements the Arrow PyCapsule interface (arrow_c_stream) for zero-copy interoperability with PyArrow, Polars, and DuckDB.
Each parsed chunk is emitted as a separate RecordBatch in the Arrow stream, avoiding expensive chunk merge operations.
Attributes
| Name | Description |
|---|---|
| column_names | List of column names |
| num_chunks | Number of chunks (RecordBatches) in the table |
| num_columns | Number of columns in the table |
| num_rows | Number of rows in the table |
Methods
| Name | Description |
|---|---|
| column | Get column by index or name as list of strings. |
| error_summary | Get summary of parse errors. |
| errors | Get list of all parse error messages. |
| has_errors | Check if any parse errors occurred. |
| row | Get row by index as list of strings. |
column
Table.column(index_or_name)Get column by index or name as list of strings.
error_summary
Table.error_summary()Get summary of parse errors.
errors
Table.errors()Get list of all parse error messages.
has_errors
Table.has_errors()Check if any parse errors occurred.
row
Table.row(index)Get row by index as list of strings.