Python Polars 0.20.28
⚠️ Deprecations
- Deprecate
use_pyarrow
parameter forto_numpy
methods (#16391)
✨ Enhancements
- Add
field
expression as selector with an struct scope (#16402) - Field expansion renaming (#16397)
- Respect index order in
DataFrame.to_numpy
also for non-numeric frames (#16390) - add Expr.interpolate_by (#16313)
- Implement Struct support for
Series.to_numpy
(#16383)
🐞 Bug fixes
- Fix struct arithmetic schema (#16396)
- Handle non-Sequence iterables in filter (#16254)
- Fix don't panic on chunked to_numpy conversion (#16393)
- Don't check nulls before conversion (#16392)
- Add support for generalized ufunc with different size input and output (#16336)
- Improve cursor close behaviour with respect to Oracle "thick mode" connections (#16380)
- Fix
DataFrame.to_numpy
for Array/Struct types (#16386) - Handle ambiguous/nonexistent datetimes in Series construction (#16342)
- Fix
DataFrame.to_numpy
for Struct columns whenstructured=True
(#16358) - Use strings to expose
ClosedInterval
in expr IR (#16369)
📖 Documentation
- Expand docstrings for
to_numpy
methods (#16394) - Add a not about index access on struct.field (#16389)
Thank you to all our contributors for making this release possible!
@MarcoGorelli, @alexander-beedie, @coastalwhite, @dangotbanned, @itamarst, @ritchie46, @stinodego and @wence-