Cargo Features

polars-ops has no features set by default.

[dependencies]
polars-ops = { version = "0.39.2", features = ["simd", "nightly", "dtype-categorical", "dtype-date", "dtype-datetime", "dtype-time", "dtype-duration", "dtype-struct", "dtype-u8", "dtype-u16", "dtype-i8", "dtype-i16", "dtype-array", "dtype-decimal", "object", "propagate_nans", "performant", "big_idx", "is_last_distinct", "is_between", "approx_unique", "business", "fused", "cutqcut", "rle", "timezones", "random", "rank", "find_many", "binary_encoding", "string_encoding", "to_dummies", "interpolate", "list_to_struct", "array_to_struct", "list_count", "diff", "pct_change", "strings", "string_pad", "string_reverse", "string_to_integer", "extract_jsonpath", "log", "hash", "reinterpret", "rolling_window", "moment", "mode", "top_k", "pivot", "cross_join", "chunked_ids", "asof_join", "semi_anti_join", "array_any_all", "array_count", "list_gather", "list_sets", "list_any_all", "list_drop_nulls", "list_sample", "extract_groups", "is_in", "hist", "repeat_by", "peaks", "abs", "cov", "gather", "replace", "serde"] }
simd

Enables nightly_simd of argminmax

nightly

Enables nightly of polars-utils

Affects namespace::StringNameSpaceImpl.to_titlecase

dtype-categorical cutqcut? hist?

Enables dtype-categorical of polars-core

dtype-date business?

Enables dtype-date and temporal of polars-core

dtype-datetime

Enables dtype-datetime and temporal of polars-core

dtype-time

Enables dtype-time and temporal of polars-core

dtype-duration

Enables dtype-duration and temporal of polars-core

dtype-struct cutqcut? extract_groups? hist? rle?

Enables dtype-struct and temporal of polars-core

Affects namespace::StringNameSpaceImpl.split_exact, namespace::StringNameSpaceImpl.split_exact_inclusive, namespace::StringNameSpaceImpl.splitn, split::split_to_struct

dtype-u8

Enables dtype-u8 of polars-core

dtype-u16

Enables dtype-u16 of polars-core

dtype-i8

Enables dtype-i8 of polars-core

dtype-i16

Enables dtype-i16 of polars-core

dtype-array array_any_all? array_count?

Enables dtype-array of polars-core

Affects chunked_array::array

dtype-decimal

Enables dtype-decimal of polars-core

object

Enables object of polars-core

polars-core:

support for ObjectChunked<T> (downcastable Series of any type)

propagate_nans

Affects chunked_array::nan_propagating_aggregate

performant = fused

Enables performant of polars-core

polars-core:

~40% faster collect, needed until trustedlength iter stabilizes
more fast paths, slower compilation

big_idx

Enables bigidx of polars-core

polars-core:

scale to terabytes?

round_series is_first_distinct is_last_distinct
is_unique unique_counts is_between
approx_unique
business = chrono, dtype-date
fused performant?
cutqcut = dtype-categorical, dtype-struct
rle = dtype-struct
timezones = chrono, chrono-tz

Affects chunked_array::datetime

random = rand, rand_distr
rank = rand
find_many = aho-corasick
binary_encoding = base64, hex

extra utilities for BinaryChunked

Affects namespace::BinaryNameSpaceImpl.hex_decode, namespace::BinaryNameSpaceImpl.hex_encode, namespace::BinaryNameSpaceImpl.base64_decode, namespace::BinaryNameSpaceImpl.base64_encode, namespace::StringNameSpaceImpl.hex_decode, namespace::StringNameSpaceImpl.base64_decode

string_encoding = base64, hex

Affects namespace::StringNameSpaceImpl.hex_encode, namespace::StringNameSpaceImpl.base64_encode

to_dummies

ops

Affects frame::DataFrameOps.to_dummies, frame::DataFrameOps.columns_to_dummies, frame::DataFrameOps._to_dummies

interpolate
list_to_struct

Enables dtype-struct of polars-core

array_to_struct

Enables dtype-array and dtype-struct of polars-core

list_count

Affects count::list_count_matches

diff pct_change?

Affects namespace::ListNameSpaceImpl.lst_diff

pct_change = diff
strings

Enables strings of polars-core

string_pad

Enables strings of polars-core

Affects namespace::StringNameSpaceImpl.pad_start, namespace::StringNameSpaceImpl.pad_end, namespace::StringNameSpaceImpl.zfill

string_reverse = unicode-reverse

Enables strings of polars-core

Affects namespace::StringNameSpaceImpl.str_reverse

string_to_integer

Enables strings of polars-core

polars-core:

extra utilities for StringChunked

Affects namespace::StringNameSpaceImpl.to_integer

extract_jsonpath = jsonpath_lib, polars-json, serde_json
log
hash

Affects various::SeriesMethods.hash

reinterpret

Enables reinterpret of polars-core

rolling_window

Enables rolling_window of polars-core

polars-core:

rolling window functions

moment

Affects rolling::RollingSeries.rolling_skew

mode

Affects chunked_array::mode

search_sorted merge_sorted top_k
pivot

Enables reinterpret of polars-core

Affects frame::pivot

cross_join
chunked_ids

Affects args::ChunkJoinOptIds, hash_join::JoinDispatch.create_left_df_chunked, hash_join::JoinDispatch._finish_left_join

asof_join

Affects single_keys_dispatch::prepare_bytes

semi_anti_join

Affects hash_join::JoinDispatch._finish_anti_semi_join, hash_join::JoinDispatch._semi_anti_join_from_series, single_keys_dispatch::SeriesJoin.hash_join_semi_anti

array_any_all = dtype-array

Affects namespace::ArrayNameSpace.array_any, namespace::ArrayNameSpace.array_all

array_count = dtype-array

Affects count::array_count_matches, namespace::ArrayNameSpace.array_count_matches

list_gather

Affects namespace::ListNameSpaceImpl.lst_gather_every, namespace::ListNameSpaceImpl.lst_gather

list_sets
list_any_all

Affects namespace::ListNameSpaceImpl.lst_all, namespace::ListNameSpaceImpl.lst_any

list_drop_nulls

Affects namespace::ListNameSpaceImpl.lst_drop_nulls

list_sample

Affects namespace::ListNameSpaceImpl.lst_sample_n, namespace::ListNameSpaceImpl.lst_sample_fraction

extract_groups = dtype-struct

Enables regex of polars-core

Affects namespace::StringNameSpaceImpl.extract_groups

is_in replace?

Enables reinterpret of polars-core

hist = dtype-categorical, dtype-struct
repeat_by
peaks

Affects chunked_array::peaks

cum_agg ewma ewma_by abs
cov

Affects chunked_array::cov

gather

Affects chunked_array::gather_skip_nulls

replace = is_in

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-json extract_jsonpath?
aho-corasick find_many?
base64 binary_encoding? string_encoding?

Enables base64 ^0.21.2

chrono business? timezones?
chrono-tz timezones?

Enables chrono-tz ^0.8.1

hex binary_encoding? string_encoding?
rand random? rank?
rand_distr random?
serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

serde_json extract_jsonpath?
unicode-reverse string_reverse?
jsonpath_lib extract_jsonpath?

Enables jsonpath_lib_polars_vendor