Cargo Features
[dependencies]
polars = { version = "0.45.1", default-features = false, features = ["sql", "rows", "simd", "avx512", "nightly", "temporal", "random", "ndarray", "docs", "serde", "serde-lazy", "parquet", "async", "cloud", "aws", "http", "azure", "gcp", "lazy", "strings", "object", "json", "ipc", "ipc_streaming", "avro", "csv", "performant", "fmt", "fmt_no_tty", "abs", "approx_unique", "arg_where", "array_any_all", "asof_join", "iejoin", "binary_encoding", "bitwise", "business", "checked_arithmetic", "chunked_ids", "coalesce", "concat_str", "cov", "cross_join", "cse", "cum_agg", "cumulative_eval", "cutqcut", "dataframe_arithmetic", "month_start", "month_end", "offset_by", "decompress", "decompress-fast", "describe", "diagonal_concat", "diff", "dot_diagram", "dot_product", "dynamic_group_by", "ewma", "ewma_by", "extract_groups", "extract_jsonpath", "find_many", "fused", "interpolate", "interpolate_by", "is_between", "is_first_distinct", "is_in", "is_last_distinct", "is_unique", "regex", "list_any_all", "list_count", "array_count", "list_drop_nulls", "list_eval", "list_gather", "list_sample", "list_sets", "list_to_struct", "list_arithmetic", "array_arithmetic", "array_to_struct", "log", "merge_sorted", "meta", "mode", "moment", "partition_by", "pct_change", "peaks", "pivot", "product", "propagate_nans", "range", "rank", "reinterpret", "repeat_by", "replace", "rle", "rolling_window", "rolling_window_by", "round_series", "row_hash", "search_sorted", "semi_anti_join", "sign", "streaming", "string_encoding", "string_pad", "string_reverse", "string_to_integer", "take_opt_iter", "timezones", "to_dummies", "top_k", "trigonometry", "true_div", "unique_counts", "zip_with", "bigidx", "polars_cloud", "ir_serde", "test", "dtype-full", "dtype-slim", "dtype-date", "dtype-datetime", "dtype-duration", "dtype-time", "dtype-array", "dtype-i8", "dtype-i16", "dtype-decimal", "dtype-u8", "dtype-u16", "dtype-categorical", "dtype-struct", "hist", "docs-selection", "bench", "full"] }
- default = csv, docs, dtype-slim, fmt, temporal, zip_with
-
These default features are set whenever
polars
is added without
somewhere in the dependency tree.default-features = false - sql = polars-sql
-
Affects
polars::sql
… - rows docs-selection? pivot?
-
Enables rows of polars-core
polars-core:
opt-in features
create from row values
and include pivot operation - simd nightly?
-
Enables simd of polars-core, polars-io, and optional polars-ops
- avx512
-
Enables avx512 of polars-core
- nightly = simd
-
Enables nightly of polars-core, optional polars-lazy, optional polars-ops, and optional polars-sql
- temporal default docs-selection? = polars-time
-
Enables temporal of polars-core, polars-io, and optional polars-lazy
- random docs-selection?
-
Enables random of polars-core, optional polars-lazy, and polars-ops
- ndarray docs-selection?
-
Enables ndarray of polars-core
- docs default docs-selection?
-
Enables docs of polars-core
- serde docs-selection?
-
serde support for dataframes and series
Enables serde of polars-core and polars-utils
- serde-lazy
-
Enables serde-lazy of polars-core, serde of polars-utils, optional polars-io, optional polars-lazy, optional polars-ops, and optional polars-time
- parquet docs-selection? test? = polars-io
-
Enables parquet of polars-io, optional polars-lazy, and optional polars-sql
- async aws? azure? docs-selection? gcp? http?
-
Enables async of optional polars-lazy
- cloud aws? azure? docs-selection? gcp? http?
-
Enables cloud of polars-io and optional polars-lazy
- aws = async, cloud
- http = async, cloud
- azure = async, cloud
- gcp = async, cloud
- lazy bench? docs-selection? test? = polars-lazy
-
Enables lazy of polars-core
- strings docs-selection?
-
extra utilities for StringChunked
Enables strings of polars-core, optional polars-lazy, and polars-ops
- object docs-selection?
-
support for ObjectChunked<T> (downcastable Series of any type)
Enables object of polars-core, polars-io, and optional polars-lazy
- json docs-selection? test? = dtype-struct, polars-io
-
support for arrows json parsing
Enables json of polars-io, optional polars-lazy, and optional polars-sql
- ipc docs-selection? test? = polars-io
-
support for arrows ipc file parsing
Enables ipc of polars-io, optional polars-lazy, and optional polars-sql
- ipc_streaming docs-selection? test? = polars-io
-
support for arrows streaming ipc file parsing
Enables ipc_streaming of polars-io, ipc of optional polars-lazy
- avro = polars-io
-
support for apache avro file parsing
- csv default docs-selection? test? = polars-io
-
support for arrows csv file parsing
Enables csv of polars-io, optional polars-lazy, and optional polars-sql
- performant full? = chunked_ids, cse, dtype-struct, dtype-u16, dtype-u8, fused, streaming
-
slower builds
Enables performant of polars-core and polars-ops
- fmt default full? test?
-
Dataframe formatting.
Enables fmt of polars-core
- fmt_no_tty
-
Enables fmt_no_tty of polars-core
- abs docs-selection? test?
-
extra operations
Enables abs of optional polars-lazy and polars-ops
- approx_unique docs-selection?
-
Enables approx_unique of polars-core, optional polars-lazy, and polars-ops
polars-core:
operations
- arg_where docs-selection?
-
Enables arg_where of optional polars-lazy
- array_any_all = dtype-array
-
Enables array_any_all of optional polars-lazy
- asof_join docs-selection?
-
Enables asof_join of optional polars-lazy and polars-ops
- iejoin docs-selection?
-
Enables iejoin of optional polars-lazy
- binary_encoding
-
Enables binary_encoding of optional polars-lazy, polars-ops, and optional polars-sql
polars-ops:
extra utilities for BinaryChunked
- bitwise
-
Enables bitwise of polars-core, optional polars-lazy, polars-ops, optional polars-plan, and optional polars-sql
polars-ops:
ops
- business
-
Enables business of optional polars-lazy and polars-ops
- checked_arithmetic docs-selection?
-
Enables checked_arithmetic of polars-core
- chunked_ids performant?
-
Enables chunked_ids of optional polars-ops
- coalesce docs-selection?
-
Enables coalesce of optional polars-lazy
- concat_str docs-selection?
-
Enables concat_str of optional polars-lazy
- cov
-
Enables cov of polars-lazy
- cross_join docs-selection?
-
Enables cross_join of optional polars-lazy and polars-ops
- cse performant?
-
Enables cse of optional polars-lazy
- cum_agg docs-selection? test?
-
Enables cum_agg of optional polars-lazy and polars-ops
- cumulative_eval docs-selection?
-
Enables cumulative_eval of optional polars-lazy
- cutqcut
-
Enables cutqcut of optional polars-lazy
- dataframe_arithmetic
-
Enables dataframe_arithmetic of polars-core
- month_start
-
Enables month_start of optional polars-lazy
- month_end
-
Enables month_end of optional polars-lazy
- offset_by
-
Enables offset_by of optional polars-lazy
- decompress docs-selection?
-
Enables decompress of polars-io
- decompress-fast
-
Enables decompress-fast of polars-io
- describe docs-selection?
-
Enables describe of polars-core
- diagonal_concat docs-selection?
-
Enables diagonal_concat of polars-core, optional polars-lazy, and optional polars-sql
- diff docs-selection? test?
-
Enables diff of optional polars-lazy and polars-ops
- dot_diagram docs-selection?
-
Enables dot_diagram of optional polars-lazy
- dot_product
-
Enables dot_product of polars-core
- dynamic_group_by docs-selection?
-
Enables dynamic_group_by of polars-core and optional polars-lazy
- ewma
-
Enables ewma of optional polars-lazy and polars-ops
- ewma_by
-
Enables ewma_by of optional polars-lazy and polars-ops
- extract_groups docs-selection?
-
Enables extract_groups of optional polars-lazy
- extract_jsonpath
-
Enables strings of polars-core, extract_jsonpath and strings of polars-ops, extract_jsonpath of optional polars-lazy
- find_many
-
Enables find_many of polars-plan
- fused performant?
-
Enables fused of optional polars-lazy and polars-ops
- interpolate docs-selection?
-
Enables interpolate of optional polars-lazy and polars-ops
- interpolate_by docs-selection?
-
Enables interpolate_by of optional polars-lazy and polars-ops
- is_between docs-selection?
-
Enables is_between of optional polars-lazy and polars-ops
- is_first_distinct docs-selection?
-
Enables is_first_distinct of optional polars-lazy and polars-ops
- is_in docs-selection?
-
Enables is_in of optional polars-lazy
- is_last_distinct docs-selection?
-
Enables is_last_distinct of optional polars-lazy and polars-ops
- is_unique
-
Enables is_unique of optional polars-lazy and polars-ops
- regex
-
Enables regex of optional polars-lazy
- list_any_all
-
Enables list_any_all of optional polars-lazy
- list_count
-
Enables list_count of optional polars-lazy and polars-ops
- array_count = dtype-array
-
Enables array_count of optional polars-lazy and polars-ops
- list_drop_nulls
-
Enables list_drop_nulls of optional polars-lazy
- list_eval docs-selection?
-
Enables list_eval of optional polars-lazy and optional polars-sql
- list_gather
-
Enables list_gather of optional polars-lazy and polars-ops
- list_sample
-
Enables list_sample of optional polars-lazy
- list_sets
-
Enables list_sets of optional polars-lazy
- list_to_struct
-
Enables list_to_struct of optional polars-lazy and polars-ops
- list_arithmetic
-
Enables list_arithmetic of polars-core
- array_arithmetic = dtype-array
-
Enables array_arithmetic of polars-core
- array_to_struct
-
Enables array_to_struct of optional polars-lazy and polars-ops
- log
-
Enables log of optional polars-lazy and polars-ops
- merge_sorted
-
Enables merge_sorted of optional polars-lazy
- meta
-
Enables meta of optional polars-lazy
- mode docs-selection?
-
Enables mode of optional polars-lazy and polars-ops
- moment
-
Enables moment of optional polars-lazy and polars-ops
- partition_by
-
Enables partition_by of polars-core
- pct_change
-
Enables pct_change of optional polars-lazy and polars-ops
- peaks
-
Enables peaks of polars-lazy
- pivot = dtype-struct, rows
-
Enables pivot of optional polars-lazy and polars-ops
- product docs-selection?
-
Enables product of polars-core
- propagate_nans docs-selection?
-
Enables propagate_nans of optional polars-lazy
- range docs-selection?
-
Enables range of optional polars-lazy
- rank docs-selection? test?
-
Enables rank of optional polars-lazy and polars-ops
- reinterpret
-
Enables reinterpret of polars-core, optional polars-lazy, and polars-ops
- repeat_by docs-selection?
-
Enables repeat_by of optional polars-lazy and polars-ops
- replace docs-selection?
-
Enables replace of optional polars-lazy and polars-ops
- rle
-
Enables rle of optional polars-lazy
- rolling_window docs-selection? test?
-
Enables rolling_window of polars-core and optional polars-lazy
polars-core:
rolling window functions
- rolling_window_by docs-selection?
-
Enables rolling_window_by of polars-core, optional polars-lazy, and polars-time
- round_series docs-selection? test?
-
Enables round_series of optional polars-lazy and polars-ops
- row_hash
-
Enables row_hash of polars-core and optional polars-lazy
- search_sorted
-
Enables search_sorted of optional polars-lazy
- semi_anti_join docs-selection?
-
Enables semi_anti_join of optional polars-lazy, polars-ops, and optional polars-sql
- sign
-
Enables sign of optional polars-lazy
- streaming performant?
-
Enables streaming of optional polars-lazy
- string_encoding docs-selection?
-
Enables string_encoding of polars-ops and optional polars-lazy and strings of polars-core
polars-core:
extra utilities for StringChunked
- string_pad
-
Enables string_pad of optional polars-lazy and polars-ops
- string_reverse docs-selection?
-
Enables string_reverse of optional polars-lazy and polars-ops
- string_to_integer docs-selection?
-
Enables string_to_integer of optional polars-lazy and polars-ops
- take_opt_iter docs-selection?
-
Enables take_opt_iter of polars-core
- timezones docs-selection?
-
Enables timezones of polars-core, polars-io, optional polars-lazy, polars-ops, and optional polars-sql
- to_dummies docs-selection?
-
Enables to_dummies of polars-ops
- top_k
-
Enables top_k of optional polars-lazy
- trigonometry
-
Enables trigonometry of optional polars-lazy
- true_div
-
Enables true_div of optional polars-lazy
- unique_counts docs-selection?
-
Enables unique_counts of optional polars-lazy and polars-ops
- zip_with default docs-selection?
-
Enables zip_with of polars-core
- bigidx
-
Enables big_idx of polars-ops, bigidx of polars-utils and bigidx of polars-core and optional polars-lazy
polars-core:
scale to terabytes?
- polars_cloud docs-selection?
-
Enables polars_cloud of optional polars-lazy
- ir_serde docs-selection?
-
Enables ir_serde of polars-plan
- test = abs, csv, cum_agg, diff, dtype-categorical, fmt, ipc, ipc_streaming, json, lazy, parquet, rank, rolling_window, round_series
- dtype-full docs-selection? = dtype-array, dtype-categorical, dtype-date, dtype-datetime, dtype-decimal, dtype-duration, dtype-i16, dtype-i8, dtype-struct, dtype-time, dtype-u16, dtype-u8
-
all opt-in datatypes
- dtype-slim default = dtype-date, dtype-datetime, dtype-duration
-
sensible minimal set of opt-in datatypes
- dtype-date dtype-full? dtype-slim
-
opt-in datatypes for Series
Enables dtype-date of polars-core, polars-io, optional polars-lazy, polars-ops, and optional polars-time
- dtype-datetime dtype-full? dtype-slim
-
Enables dtype-datetime of polars-core, polars-io, optional polars-lazy, polars-ops, and optional polars-time
- dtype-duration dtype-full? dtype-slim
-
Enables dtype-duration of polars-core, optional polars-lazy, polars-ops, and optional polars-time
- dtype-time dtype-full?
-
Enables dtype-time of polars-core, polars-io, optional polars-lazy, polars-ops, and optional polars-time
- dtype-array array_any_all? array_arithmetic? array_count? dtype-full?
-
Enables dtype-array of polars-core, optional polars-lazy, polars-ops, and optional polars-plan
- dtype-i8 dtype-full?
-
Enables dtype-i8 of polars-core, polars-io, optional polars-lazy, and polars-ops
- dtype-i16 dtype-full?
-
Enables dtype-i16 of polars-core, polars-io, optional polars-lazy, and polars-ops
- dtype-decimal dtype-full?
-
Enables dtype-decimal of polars-core, polars-io, optional polars-lazy, polars-ops, and optional polars-sql
- dtype-u8 dtype-full? performant?
-
Enables dtype-u8 of polars-core, polars-io, optional polars-lazy, and polars-ops
- dtype-u16 dtype-full? performant?
-
Enables dtype-u16 of polars-core, polars-io, optional polars-lazy, and polars-ops
- dtype-categorical dtype-full? test?
-
Enables dtype-categorical of polars-core, polars-io, optional polars-lazy, and polars-ops
- dtype-struct dtype-full? json? performant? pivot?
-
Enables dtype-struct of polars-core, polars-io, optional polars-lazy, and polars-ops
- hist
-
Enables hist of polars-lazy and polars-ops
- docs-selection full? = abs, approx_unique, arg_where, asof_join, async, checked_arithmetic, cloud, coalesce, concat_str, cross_join, csv, cum_agg, cumulative_eval, decompress, describe, diagonal_concat, diff, docs, dot_diagram, dtype-full, dynamic_group_by, extract_groups, iejoin, interpolate, interpolate_by, ipc, ipc_streaming, ir_serde, is_between, is_first_distinct, is_in, is_last_distinct, json, lazy, list_eval, mode, ndarray, object, parquet, polars_cloud, product, propagate_nans, random, range, rank, repeat_by, replace, rolling_window, rolling_window_by, round_series, rows, semi_anti_join, serde, string_encoding, string_reverse, string_to_integer, strings, take_opt_iter, temporal, timezones, to_dummies, unique_counts, zip_with
- bench = lazy
- full = docs-selection, fmt, performant
-
All features expect python
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-io avro? aws? azure? cloud? csv decompress? decompress-fast? dtype-categorical? dtype-date? dtype-datetime? dtype-decimal? dtype-i16? dtype-i8? dtype-struct? dtype-time? dtype-u16? dtype-u8? gcp? http? ipc? ipc_streaming? json? object? parquet? simd? temporal timezones?
- polars-lazy cov? hist? lazy? peaks?
- polars-ops abs? approx_unique? array_count? array_to_struct? asof_join? bigidx? binary_encoding? bitwise? business? cross_join? cum_agg? diff? dtype-array? dtype-categorical? dtype-date? dtype-datetime? dtype-decimal? dtype-duration? dtype-i16? dtype-i8? dtype-struct? dtype-time? dtype-u16? dtype-u8? ewma? ewma_by? extract_jsonpath? fused? hist? interpolate? interpolate_by? is_between? is_first_distinct? is_last_distinct? is_unique? list_count? list_gather? list_to_struct? log? mode? moment? pct_change? performant? pivot? random? rank? reinterpret? repeat_by? replace? round_series? semi_anti_join? string_encoding? string_pad? string_reverse? string_to_integer? strings? timezones? to_dummies? unique_counts?
- polars-plan find_many? ir_serde?
- polars-sql sql?
- polars-time rolling_window_by? temporal