Cargo Features

[dependencies]
polars = { version = "0.35.4", 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", "sort_multiple", "approx_unique", "is_in", "zip_with", "round_series", "checked_arithmetic", "repeat_by", "is_first_distinct", "is_last_distinct", "is_unique", "asof_join", "cross_join", "dot_product", "concat_str", "row_hash", "reinterpret", "decompress", "decompress-fast", "mode", "take_opt_iter", "extract_jsonpath", "string_encoding", "binary_encoding", "group_by_list", "lazy_regex", "cum_agg", "rolling_window", "interpolate", "rank", "diff", "pct_change", "moment", "range", "true_div", "diagonal_concat", "horizontal_concat", "abs", "dynamic_group_by", "ewma", "dot_diagram", "dataframe_arithmetic", "product", "unique_counts", "log", "partition_by", "semi_anti_join", "list_eval", "cumulative_eval", "chunked_ids", "to_dummies", "bigidx", "list_to_struct", "list_count", "list_gather", "describe", "timezones", "string_pad", "string_to_integer", "arg_where", "search_sorted", "merge_sorted", "meta", "date_offset", "trigonometry", "sign", "pivot", "top_k", "algo", "cse", "propagate_nans", "coalesce", "streaming", "fused", "list_sets", "list_any_all", "list_drop_nulls", "list_sample", "cutqcut", "rle", "extract_groups", "peaks", "cov", "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", "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

simd nightly?

Enables simd of polars-core, polars-io, and polars-ops

avx512

Enables avx512 of polars-core

nightly = simd

Enables nightly of polars-core, optional polars-lazy, polars-ops, and 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 polars-io, polars-ops, optional polars-lazy, 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 Utf8Chunked

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

sort_multiple

sort by multiple columns

Enables sort_multiple of polars-core

approx_unique

extra operations

Enables approx_unique of optional polars-lazy and polars-ops

is_in docs-selection?

Enables is_in of optional polars-lazy

zip_with default docs-selection?

Enables zip_with of polars-core and polars-ops

round_series docs-selection? test?

Enables round_series of optional polars-lazy and polars-ops

checked_arithmetic docs-selection?

Enables checked_arithmetic of polars-core

repeat_by docs-selection?

Enables repeat_by of optional polars-lazy and polars-ops

is_first_distinct docs-selection?

Enables is_first_distinct of optional polars-lazy and polars-ops

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

asof_join docs-selection?

Enables asof_join of polars-core, optional polars-lazy, and polars-ops

cross_join docs-selection?

Enables cross_join of optional polars-lazy and polars-ops

dot_product

Enables dot_product of polars-core

concat_str docs-selection?

Enables concat_str of optional polars-lazy

row_hash

Enables row_hash of polars-core and optional polars-lazy

reinterpret

Enables reinterpret of polars-core

decompress docs-selection?

Enables decompress of polars-io

decompress-fast

Enables decompress-fast of polars-io

mode docs-selection?

Enables mode of optional polars-lazy and polars-ops

take_opt_iter docs-selection?

Enables take_opt_iter of polars-core

extract_jsonpath

Enables strings of polars-core, extract_jsonpath and strings of polars-ops, extract_jsonpath of optional polars-lazy

string_encoding docs-selection?

Enables strings of polars-core, string_encoding of polars-ops and optional polars-lazy

binary_encoding

Enables binary_encoding of optional polars-lazy and polars-ops

group_by_list

Enables group_by_list of polars-core and polars-ops

lazy_regex

Enables regex of optional polars-lazy

cum_agg docs-selection? test?

Enables cum_agg of optional polars-lazy and polars-ops

rolling_window docs-selection? test?

Enables rolling_window of polars-core, optional polars-lazy, and polars-time

interpolate docs-selection?

Enables interpolate of optional polars-lazy and polars-ops

rank docs-selection? test?

Enables rank of optional polars-lazy and polars-ops

diff docs-selection? test?

Enables diff of optional polars-lazy and polars-ops

pct_change

Enables pct_change of optional polars-lazy and polars-ops

moment

Enables moment of optional polars-lazy and polars-ops

range docs-selection?

Enables range of optional polars-lazy

true_div

Enables true_div of optional polars-lazy

diagonal_concat docs-selection?

Enables diagonal_concat of polars-core, optional polars-lazy, and optional polars-sql

horizontal_concat docs-selection?

Enables horizontal_concat of polars-core

abs docs-selection? test?

Enables abs of optional polars-lazy and polars-ops

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

dot_diagram docs-selection?

Enables dot_diagram of optional polars-lazy

dataframe_arithmetic

Enables dataframe_arithmetic of polars-core

product docs-selection?

Enables product of polars-core

unique_counts

Enables unique_counts of optional polars-lazy and polars-ops

log

Enables log of optional polars-lazy and polars-ops

partition_by

Enables partition_by of polars-core

semi_anti_join

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

list_eval docs-selection?

Enables list_eval of optional polars-lazy

cumulative_eval docs-selection?

Enables cumulative_eval of optional polars-lazy

chunked_ids performant?

Enables chunked_ids of polars-core, optional polars-lazy, and polars-ops

to_dummies docs-selection?

Enables to_dummies of polars-ops

bigidx

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

list_to_struct

Enables list_to_struct of optional polars-lazy and polars-ops

list_count

Enables list_count of optional polars-lazy and polars-ops

list_gather

Enables list_gather of optional polars-lazy and polars-ops

describe docs-selection?

Enables describe of polars-core

timezones docs-selection?

Enables timezones of polars-core, polars-io, and optional polars-lazy

string_pad

Enables string_pad of optional polars-lazy and polars-ops

string_to_integer docs-selection?

Enables string_to_integer of optional polars-lazy and polars-ops

arg_where docs-selection?

Enables arg_where of optional polars-lazy

search_sorted

Enables search_sorted of optional polars-lazy

merge_sorted

Enables merge_sorted of optional polars-lazy

meta

Enables meta of optional polars-lazy

date_offset

Enables date_offset of optional polars-lazy

trigonometry

Enables trigonometry of optional polars-lazy

sign

Enables sign of optional polars-lazy

pivot

Enables pivot of optional polars-lazy

top_k

Enables top_k of optional polars-lazy

algo = polars-algo
cse performant?

Enables cse of optional polars-lazy

propagate_nans docs-selection?

Enables propagate_nans of optional polars-lazy

coalesce docs-selection?

Enables coalesce of optional polars-lazy

streaming performant?

Enables streaming of optional polars-lazy

fused performant?

Enables fused of optional polars-lazy and polars-ops

list_sets

Enables list_sets of optional polars-lazy

list_any_all

Enables list_any_all of optional polars-lazy

list_drop_nulls

Enables list_drop_nulls of optional polars-lazy

list_sample

Enables list_sample of optional polars-lazy

cutqcut

Enables cutqcut of optional polars-lazy

rle

Enables rle of optional polars-lazy

extract_groups docs-selection?

Enables extract_groups of optional polars-lazy

peaks

Enables peaks of polars-lazy

cov

Enables cov of polars-lazy

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 and dtype-date of polars-core, dtype-date of polars-io, polars-ops, optional polars-lazy, 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 and dtype-duration of polars-core, dtype-duration of polars-ops, optional polars-lazy, and optional polars-time

dtype-time dtype-full?

Enables dtype-time of polars-core, polars-io, polars-ops, and optional polars-time

dtype-array dtype-full?

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

dtype-i8 dtype-full?

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

dtype-i16 dtype-full?

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

dtype-decimal dtype-full?

Enables dtype-decimal of polars-core, polars-io, optional polars-lazy, and polars-ops

dtype-u8 dtype-full? performant?

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

dtype-u16 dtype-full? performant?

Enables dtype-u16 of polars-core, 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

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, horizontal_concat, interpolate, ipc, ipc_streaming, is_first_distinct, is_in, is_last_distinct, json, lazy, list_eval, mode, ndarray, object, parquet, product, propagate_nans, random, range, rank, repeat_by, rolling_window, round_series, rows, string_encoding, 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.

polars-algo algo?
polars-io avro? csv ipc? ipc_streaming? json? parquet?