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
rust-polars is updated to 2023-10-25 unreleased version (#442)
New subnamespace "name" that contains methods $prefix(), $suffix() keep() (renamed from keep_name()) and map() (renamed from map_alias()).
$dt$round() gains an argument ambiguous.
The following methods now accept an Expr as input: $top_k(), $bottom_k(), $list$join(), $str$strip_chars(), $str$strip_chars_start(), $str$strip_chars_end(), $str$split_exact().
The following methods were renamed:
$str$n_chars() -> $str$len_chars()
$str$lengths() -> $str$len_bytes()
$str$ljust() -> $str$pad_end()
$str$rjust() -> $str$pad_start()
$concat() with how = "diagonal" now accepts an argument to_supertypes
to automatically convert concatenated columns to the same type.
pl$enable_string_cache() doesn't take any argument anymore. The string cache
can now be disabled with pl$disable_string_cache().
$scan_parquet() gains an argument hive_partitioning.
$meta$tree_format() has a better formatted output.
Breaking changes
$scan_csv() and $read_csv() now match more closely the Python-Polars API (#455):
sep is renamed separator, overwrite_dtypes is renamed dtypes, parse_dates is renamed try_parse_dates.
new arguments rechunk, eol_char, raise_if_empty, truncate_ragged_lines
path can now be a vector of characters indicating several paths to CSV files.
This only works if all CSV files have the same schema.
What's changed
New class RPolarsSQLContext and its methods to perform SQL queries on DataFrame-
like objects. To use this feature, needs to build Rust library with full features
(#457).
New methods $peak_min() and $peak_max() to find local minima and maxima in
an Expr (#462).
New methods $read_ndjson() and $scan_ndjson() (#471).
New method $with_context() for LazyFrame to have access to columns from
other Data/LazyFrames during the computation.