Change8

py-1.40.1

📦 polarsView on GitHub →
1 features🐛 7 fixes🔧 9 symbols

Summary

This release focuses on performance improvements, bug fixes across various operations like grouping, list sampling, and concatenation, and adds a new parameter to `merge_sorted`.

✨ New Features

  • Add `maintain_order` parameter to `merge_sorted`

🐛 Bug Fixes

  • Honor `having` predicate in `GroupBy` iter
  • Use the physical dtype for `NumUnorderedImplodeReducer` arrow `ListArray`
  • Address bug in `reduce_balanced` for certain input length lists affecting `pl.concat`
  • Ensure `list.sample()` allows `fraction` > 1 when `with_replacement=True`
  • Ensure `append()` errors when `upcast=False`
  • Always rechunk sorts, prune sorts even in eager execution
  • Fix typing for `DataFrame.__init__` and `Series.__init__` so they don't require all optional dependencies to be installed

Affected Symbols