Cargo Features

pyo3-polars has no features set by default.

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

Enables serde-lazy of polars, serde of polars-lazy

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

polars:

all opt-in datatypes

object

Enables object of polars

polars:

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

dtype-decimal dtype-full?

Enables dtype-decimal of polars

dtype-struct dtype-full?

Enables dtype-struct of polars

dtype-array dtype-full?

Enables dtype-array of polars

dtype-categorical dtype-full?

Enables dtype-categorical of polars

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.

ciborium lazy?
polars-ffi derive?
polars-lazy lazy?
polars-plan derive? lazy?
pyo3-polars-derive derive?
serde derive?
serde-pickle derive?