Cargo Features

pyo3-polars has no features set by default.

[dependencies]
pyo3-polars = { version = "0.20.0", features = ["lazy", "derive", "dtype-full", "object", "dtype-decimal", "dtype-struct", "dtype-array", "dtype-categorical"] }
lazy = polars-plan, polars-utils

Polars python is needed because all variants need to be acttivated of the DSL.

Enables serde-lazy of polars ^0.46.0, python and serde of polars-lazy ^0.46.0

Affects types::PyLazyFrame, types::PyExpr

derive = polars-ffi, polars-plan, pyo3-polars-derive, serde, serde-pickle

Affects pyo3-polars::derive, pyo3-polars::export

dtype-full = dtype-array, dtype-categorical, dtype-decimal, dtype-struct

Enables dtype-full of polars ^0.46.0

polars:

all opt-in datatypes

object

Enables object of polars ^0.46.0

polars:

support for ObjectChunked<T> (downcastable Series of any type)

dtype-decimal dtype-full?

Enables dtype-decimal of polars ^0.46.0

dtype-struct dtype-full?

Enables dtype-struct of polars ^0.46.0

dtype-array dtype-full?

Enables dtype-array of polars ^0.46.0

dtype-categorical dtype-full?

Enables dtype-categorical of polars ^0.46.0

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

polars-ffi derive?

Enables polars-ffi ^0.46.0

polars-lazy lazy?

Enables polars-lazy ^0.46.0

polars-plan derive? lazy?

Enables polars-plan ^0.46.0

polars-utils lazy?

Enables polars-utils ^0.46.0

pyo3-polars-derive derive?
serde derive?
serde-pickle derive?