Python Polars 0.16.9
🚀 Performance improvements
- improve perf of multi-args exprs in groupby context (#7186)
- optimize
sequence_to_pydf
(#7044) - improve single argument elementwise expression pe… (#7180)
✨ Enhancements
- show column name if read_csv errors (#7177)
- support direct
LazyFrame
init (same params asDataFrame
) (#7122) - add a
base_type
method toDataType
(#7166) - add explode for binary (#7159)
- add binary apply (#7160)
- Allow pl.Int32 Series as output in eager repeat. (#7152)
- improve error message when read_csv fails (#7150)
- Improve usability of Null type. (#7136)
- add glob support to scan_ndjson (#7143)
- add Expr.pipe (#7134)
- streaming: scale chunk_size on table width (#7119)
- additional read functions (#7102)
- More ergonomic
explode
args (#7115)
🐞 Bug fixes
- fix(rust, python); make list function 'map' and refactor multi-arg ex… (#7185)
- Fix Series.argsort (#7183)
- validate trees before inserting streaming node (#7179)
- Raise ValueError for getitem when column indexes are out… (#7167)
- fix list take logical types (#7163)
- fix null cmp fast paths (#7157)
- fix df division dispatch (#7155)
- don't panic un unsupported arithmetic type (#7154)
- don't let a cast unset agg_state and keep logical … (#7151)
- expose sort expressions to stack-optimizer (#7148)
- improve error message when read_csv fails (#7150)
- make cast unknown a no-op (#7147)
- fix panic on cum_prod (#7141)
- respect f32 schema in deep expressions (#7146)
- fix return type of
_unpack_schema
to prevent potential TypeError (#7128) - fix docstring in set_tbl_cols() (#7121)
- fix deadlock in scan_csv()->sink_parquet() (#7118)
- subtracting Series from date has wrong sign (#7107)
- fix scan_ipc receiving storage_options (#7085)
- nested sql exprs (#7112)
🛠️ Other improvements
- ensure binary branches are executed in parall… (#7193)
- Deprecate pl.get_dummies (#7055)
- Add Series.cut, deprecate pl.cut (#7058)
- examples functional programing (#7135)
- fix docstring in set_tbl_cols() (#7121)
- Build versioned API reference (#7114)
Thank you to all our contributors for making this release possible!
@MarcoGorelli, @Trippy3, @alexander-beedie, @foxcroftjn, @ghuls, @iamsmkr, @jakob-keller, @josh, @mslapek, @papparapa, @ritchie46, @romanovacca, @stinodego, @universalmind303 and @zundertj