lsdb.io.schema

lsdb.io.schema#

Functions#

get_arrow_schema(→ pyarrow.Schema)

Constructs the pyarrow schema from the meta of a Dask DataFrame.

Module Contents#

get_arrow_schema(ddf: dask.dataframe.DataFrame) pyarrow.Schema[source]#

Constructs the pyarrow schema from the meta of a Dask DataFrame.

Parameters:

ddf (dd.DataFrame) – A Dask DataFrame.

Returns:

The arrow schema for the provided Dask DataFrame.