Cargo Features
pyo3-polars has no features set by default.
[dependencies]
pyo3-polars = { version = "0.26.0", features = ["lazy", "derive", "dtype-full", "object", "dtype-decimal", "dtype-struct", "dtype-array", "dtype-categorical", "dtype-extension"] }
- lazy = polars-plan, polars-utils
-
Polars python is needed because all variants need to be activated of the DSL.
Enables lazy and serde-lazy of polars, python and serde of polars-lazy
Affects
types::PyLazyFrame,types::PyExpr… - derive = pyo3-polars-derive, serde, serde-pickle
-
Enables python of polars-plan
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
-
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
- dtype-extension
-
Enables dtype-extension 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.