You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Minimum supported Rust version (MSRV) is now 1.74.1.
$with_row_count() for DataFrame and LazyFrame is deprecated and will be removed in 0.15.0. It is replaced by $with_row_index().
pl$count() is deprecated and will be removed in 0.15.0. It is replaced by pl$len().
$explode() for DataFrame and LazyFrame doesn't work anymore on string columns.
$list$join() and pl$concat_str() gain an argument ignore_nulls. The current behavior is to return a null if the row contains any null. Setting ignore_nulls = TRUE changes that.
All row_count_* args in reading/scanning functions are renamed row_index_*.
$sort() for Series gains an argument nulls_last.
$str$extract() and $str$zfill() now accept an Expr and parse strings as column names. Use pl$lit() to recover the old behavior.
$cum_count() now starts from 1 instead of 0.
Other breaking changes
The simd feature of the Rust library is removed in favor of the new nightly feature (#800). If you specified simd via the LIBR_POLARS_FEATURES environment variable during source installations, please use nightly instead; there is no change if you specified full_features because it now contains nightly instead of simd.
The following functions were deprecated in 0.13.0 and are now removed (#783):
$list$lengths() -> $list$len()
pl$from_arrow() -> as_polars_df() or as_polars_series()
pl$set_options() and pl$reset_options() -> polars_options()
arguments start and end are renamed lower_bound and upper_bound. Their behaviour doesn't change.
include_bounds is renamed closed and must be one of "left", "right", "both", or "none".
polars_info() returns a slightly changed list.
$threadpool_size, which means the number of threads used by Polars, is changed to $thread_pool_size (#784)
$version, which indicates the version of this package, is changed to $versions$r_package (#791).
$rust_polars, which indicates the version of the dependent Rust Polars, is changed to $versions$rust_crate (#791).
New behavior when creating a DataFrame with a single list-variable. pl$DataFrame(x = list(1:2, 3:4)) used to create a DataFrame with two columns named "new_column" and "new_column_1", which was unexpected. It now produces a DataFrame with a single list variable. This also applies to list-column created in $with_columns() and $select() (#794).
Deprecations
pl$threadpool_size() is deprecated and will be removed in 0.15.0. Use pl$thread_pool_size() instead (#784).
New features
Implementation of the subnamespace $arr for expressions on array-type columns. An array column is similar to a list column, but is stricter as each sub-array must have the same number of elements (#790).
Other improvements
The sql feature is included in the default feature (#800). This means that functionality related to the RPolarsSQLContext class is now always included in the binary package.