Compile feature settings

#cargo.toml recommended dependencies, Polars supports more features that will result in slower compilation.
[dependencies]
polars = {version="0.43.0",features=["mode","find_many","polars-io","csv","polars-ops","lazy","docs-selection","streaming","regex","temporal","is_unique","is_between","dtype-date","dtype-datetime","dtype-time","dtype-duration","dtype-categorical","rows","is_in","pivot"]}
polars-io = "0.43.0"
polars-lazy = "0.43.0"

A complete list of features: https://docs.rs/crate/polars/latest/features

Commonly used featuresMeaning
lazyEnable the lazy API
regexSupport for regular regex in col() expressions
sqlSQL queries are supported
streamingEnable data flows, which allow you to process more data than you can in memory.
randomGenerate a randomly sampled array.
timezonesTime zone support
stringsString extraction tool
objectObjectChunked, an arbitrary data type, is supported, and it uses Any trait to handle different types.
jsonSupport serialization and deserialization of JSON
serdeSerialization and deserialization of the SERDE library are supported
serde-lazySerialization and deserialization of the SERDE library are supported
sort_multipleMulti-column sorting is supported
rowsCreate a DataFrame from a row and extract rows from a DataFrame. Activate pivot and transpose operations.
The meaning of this sentence:
asof_joinSupports ASOF connection1 operation.
cross_joinCreate two DataFrames of Cartesian product2.
is_inCheck whether the value is in the series
is_betweenDetermine whether it is between the upper and lower bounds.
zip_withZip the two series.
arg_whereReturns indexes that meet the criteria
unique_countsUnique value counting is supported
rankCalculate the rank
interpolateInterpolates the missing values of Series

1

In data processing, "joining" refers to merging two or more datasets together according to some shared key or column. Typically, this connection requires that the values of the keys must match exactly. However, ASOF connection is a special type of connection that does not require the exact match of the key values, but allows the connection to be made according to the nearest key. This is especially useful when working with time series data, as you may want to connect the data to the closest point in time, rather than an exact match. For example, if you have a piece of data that contains stock prices, and each row of data has a timestamp, you may want to connect this data with another piece of data that contains economic indicators, which also has a timestamp, but the timestamps may not exactly match.

2

In data processing, the Cartesian product refers to all possible combinations of two datasets. For example, if you have two DataFrames, one containing rows A and B, and the other containing rows 1 and 2, the Cartesian product of these two DataFrames will contain four rows: (A, 1), (A, 2), (B, 1), (B, 2).