Cargo Features

[dependencies]
polars = { version = "0.39.2", default-features = false, features = ["sql", "rows", "simd", "avx512", "nightly", "temporal", "random", "ndarray", "docs", "serde", "serde-lazy", "parquet", "async", "cloud", "cloud_write", "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", "bigidx", "binary_encoding", "business", "checked_arithmetic", "chunked_ids", "coalesce", "concat_str", "cov", "cross_join", "cse", "cum_agg", "cumulative_eval", "cutqcut", "dataframe_arithmetic", "date_offset", "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", "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", "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", "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", "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"] }
default = csv, docs, dtype-slim, fmt, temporal, zip_with

These default features are set whenever polars is added without default-features = false somewhere in the dependency tree.

sql = polars-sql

Affects polars::sql

rows docs-selection?

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

serde support for dataframes and series

Enables serde of polars-core

serde-lazy

Enables serde-lazy of polars-core, serde of 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? gcp? http?

Enables async of optional polars-lazy

cloud aws? azure? cloud_write? gcp? http?

Enables cloud of polars-io and optional polars-lazy

cloud_write = cloud

Enables cloud_write of optional polars-lazy

aws = async, cloud

Enables aws of polars-io

http = async, cloud

Enables http of polars-io

azure = async, cloud

Enables azure of polars-io

gcp = async, cloud

Enables gcp of polars-io

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

Enables avro of polars-io

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 = chunked_ids, cse, dtype-struct, dtype-u16, dtype-u8, fused, streaming

slower builds

Enables performant of polars-core and polars-ops

fmt default 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

Enables approx_unique of optional polars-lazy and polars-ops

polars-lazy:

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

bigidx

Enables big_idx of polars-ops and bigidx of polars-core and optional polars-lazy

polars-core:

scale to terabytes?

binary_encoding

Enables binary_encoding of optional polars-lazy, polars-ops, and optional polars-sql

polars-ops:

extra utilities for BinaryChunked

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

date_offset

Enables date_offset 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 extract_jsonpath and strings of polars-ops, extract_jsonpath of optional polars-lazy and strings of polars-core

polars-core:

extra utilities for StringChunked

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

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

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

Enables pivot of optional polars-lazy

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, optional polars-lazy, and polars-time

polars-core:

rolling window functions

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

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 strings of polars-core, string_encoding of polars-ops and optional polars-lazy

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, and optional polars-sql

to_dummies docs-selection?

Enables to_dummies of polars-ops

polars-ops:

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

Enables unique_counts of optional polars-lazy and polars-ops

zip_with default docs-selection?

Enables zip_with of polars-core

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_count? dtype-full?

Enables dtype-array of polars-core, optional polars-lazy, and polars-ops

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?

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 = abs, arg_where, asof_join, checked_arithmetic, 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, interpolate, ipc, ipc_streaming, is_between, is_first_distinct, is_in, is_last_distinct, json, lazy, list_eval, mode, ndarray, object, parquet, product, propagate_nans, random, range, rank, repeat_by, replace, rolling_window, round_series, rows, string_encoding, string_reverse, string_to_integer, strings, take_opt_iter, temporal, timezones, to_dummies, zip_with
bench = lazy

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? 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? is_between? is_first_distinct? is_last_distinct? is_unique? list_count? list_gather? list_to_struct? log? mode? moment? pct_change? performant? random? rank? reinterpret? repeat_by? replace? round_series? semi_anti_join? string_encoding? string_pad? string_reverse? string_to_integer? strings? to_dummies? unique_counts?
polars-plan find_many?
polars-sql sql?
polars-time rolling_window? temporal