Cargo Features
[dependencies]
polars-python = { version = "0.46.0", default-features = false, features = ["avro", "catalog", "parquet", "ipc", "ipc_streaming", "is_in", "json", "trigonometry", "sign", "asof_join", "iejoin", "cross_join", "pct_change", "repeat_by", "streaming", "meta", "index_of", "search_sorted", "decompress", "regex", "csv", "clipboard", "extract_jsonpath", "pivot", "top_k", "propagate_nans", "sql", "performant", "timezones", "cse", "merge_sorted", "list_gather", "list_count", "array_count", "binary_encoding", "list_sets", "list_any_all", "array_any_all", "list_drop_nulls", "list_sample", "cutqcut", "rle", "extract_groups", "ffi_plugin", "cloud", "peaks", "hist", "find_many", "new_streaming", "string_normalize", "dtype-u16", "dtype-array", "object", "dtypes", "operations", "io", "optimizations", "polars_cloud", "nightly", "all", "pymethods"] }
- avro io?
-
Features below are only there to enable building a slim binary during development.
- catalog
-
Enables catalog of polars-lazy
Affects
polars-python::catalog
… - parquet io? = polars-parquet
-
Affects
io::read_parquet_schema
… - ipc io?
-
polars:
support for arrows ipc file parsing
Affects
io::read_ipc_schema
… - ipc_streaming io?
-
Enables ipc_streaming of polars
polars:
support for arrows streaming ipc file parsing
- is_in operations?
- json io? = serde_json
-
Enables json and serde of polars, serde of polars-utils
- trigonometry operations?
-
Enables trigonometry of polars
Affects
lazy::arctan2
… - sign operations?
- asof_join operations?
- iejoin
- cross_join operations?
-
Enables cross_join of polars
- pct_change operations?
-
Enables pct_change of polars
- repeat_by operations?
- streaming optimizations?
- meta all
- index_of operations?
- search_sorted operations?
-
Enables search_sorted of polars
- decompress all
-
Enables decompress of polars
- regex all
- csv io?
-
polars:
support for arrows csv file parsing
Affects
polars-python::batched_csv
… - clipboard io? = arboard
-
Affects
io::read_clipboard_string
,io::write_clipboard_string
… - extract_jsonpath operations?
-
Enables extract_jsonpath of polars
- pivot operations?
- top_k operations?
- propagate_nans operations?
-
Enables propagate_nans of polars
- sql all
-
Affects
lazy::sql_expr
,polars-python::sql
… - performant operations?
-
Enables performant of polars
polars:
slower builds
- timezones operations?
- cse optimizations?
- merge_sorted operations?
-
Enables merge_sorted of polars
- list_gather operations?
-
Enables list_gather of polars
- list_count operations?
-
Enables list_count of polars
- array_count operations?
-
Enables array_count and dtype-array of polars
- binary_encoding all
-
Enables binary_encoding of polars
- list_sets operations?
-
Enables list_sets of polars-lazy
- list_any_all operations?
-
Enables list_any_all of polars
- array_any_all operations?
-
Enables dtype-array of polars
- list_drop_nulls operations?
-
Enables list_drop_nulls of polars
- list_sample operations?
-
Enables list_sample of polars
- cutqcut operations?
- rle operations?
- extract_groups operations?
-
Enables extract_groups of polars
- ffi_plugin all
-
Enables ffi_plugin of polars-plan
Affects
misc::register_plugin_function
… - cloud io?
- peaks operations?
- hist operations?
- find_many operations?
- new_streaming all
-
Enables new_streaming of polars-lazy
- bitwise approx_unique string_normalize operations?
-
Enables polars
- dtype-i8 dtype-i16 dtype-u8 dtype-u16 dtypes?
- dtype-i128 dtype-array dtypes?
- object dtypes?
-
polars:
support for ObjectChunked<T> (downcastable Series of any type)
Affects
polars-python::object
,polars-python::on_startup
,series::ApplyLambda.apply_lambda_with_object_out_type
… - dtypes all = dtype-array, dtype-i128, dtype-i16, dtype-i8, dtype-u16, dtype-u8, object
- operations all = approx_unique, array_any_all, array_count, asof_join, bitwise, cross_join, cutqcut, extract_groups, extract_jsonpath, find_many, hist, index_of, is_in, list_any_all, list_count, list_drop_nulls, list_gather, list_sample, list_sets, merge_sorted, pct_change, peaks, performant, pivot, propagate_nans, repeat_by, rle, search_sorted, sign, string_normalize, timezones, top_k, trigonometry
- io all = avro, clipboard, cloud, csv, ipc, ipc_streaming, json, parquet
- optimizations all = cse, streaming
-
Enables polars
- polars_cloud all
-
Enables ir_serde and polars_cloud of polars
Affects
polars-python::cloud
… - nightly
-
also includes simd
- all default = binary_encoding, decompress, dtypes, ffi_plugin, io, meta, new_streaming, operations, optimizations, polars_cloud, pymethods, regex, sql
- pymethods all
-
Affects
polars-python::functions
… - default = all
-
we cannot conditionally activate simd https://github.com/rust-lang/cargo/issues/1197 so we have an indirection and compile with --no-default-features --features=all for targets without simd
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.