Tables and Tensors#

Factory Functions#

chunked_array(arrays[, type])

Construct chunked array from list of array-like objects

concat_arrays(arrays, ...)

Concatenate the given arrays.

concat_tables(tables, ...)

Concatenate pyarrow.Table objects.

record_batch(data[, names, schema, metadata])

Create a pyarrow.RecordBatch from another Python data structure or sequence of arrays.

table(data[, names, schema, metadata, nthreads])

Create a pyarrow.Table from a Python data structure or sequence of arrays.

Classes#

ChunkedArray()

An array-like composed from a (possibly empty) collection of pyarrow.Arrays

RecordBatch

Batch of rows of columns of equal length

Table

A collection of top-level named, equal length Arrow arrays.

TableGroupBy(table, keys[, use_threads])

A grouping of columns in a table on which to perform aggregations.

RecordBatchReader()

Base class for reading stream of record batches.

Dataframe Interchange Protocol#

interchange.from_dataframe(df[, allow_copy])

Build a pa.Table from any DataFrame supporting the interchange protocol.

Tensors#

Tensor()

A n-dimensional array a.k.a Tensor.