Tableframe#

TableFrame.assert_has_cols(cols[, exact])

Ensures that the (non-system) columns in the TableFrame match the expected columns.

TableFrame.clear([n])

Clears all rows of the TableFrame preserving the schema.

TableFrame.empty()

Creates an empty (no column - no row) TableFrame.

TableFrame.from_dict([data])

Creates tableframe from a dictionary, or None.

TableFrame.from_pandas([data])

Creates tableframe from a pandas dataframe, or None.

TableFrame.from_polars([data])

Creates tableframe from a polars dataframe or lazyframe, or None.

TableFrame.has_cols(cols[, exact])

Verifies the presence of (non-system) columns in the TableFrame.

TableFrame.has_same_schema(tf)

Verifies if the schema of the current TableFrame is same than the provided TableFrame.

TableFrame.is_empty()

Checks if a TableFrame has no rows.

TableFrame.sort(by, *more_by[, descending, ...])

Sort the TableFrame by the given column(s) or expression(s).

TableFrame.to_dict()

Creates a dictionary from this tableframe.

TableFrame.to_pandas()

Creates a pandas dataframe from this tableframe.

TableFrame.to_polars_df()

Creates a polars dataframe from this tableframe.

TableFrame.to_polars_lf()

Creates a polars lazyframe from this tableframe.