traveler.tables#

Functions#

consolidate(df)

Consolidate Polars data to ensure all columns are a single chunk of memory.

jax_to_polars(table[, include_prng_key])

Convert a JaxTable to a polars DataFrame.

polars_to_jax(df[, cls, prng_keys])

Convert a Polars data frame to a JAX-backed table.

read_table(filepath[, columns, sample, ...])

Read a table from a file and return its column definitions.