🏆 Highlights
- Add syntactic sugar for
col("foo")
->col.foo
(#10874)
⚠️ Deprecations
- Rename
Expr.is_not()
tonot_()
(#10838)
✨ Enhancements
- allow individual
Config
options to be easily reset to their default value (#10922) - accept expr in
str.count_match
(#10900) - allow additional
glimpse
customisation, fix strings repr (#10895) - accept expressions in
.offset_by
(#9967) - support schema overrides for frames created from databases (#10884)
- Add syntactic sugar for
col("foo")
->col.foo
(#10874) - support negative indexing in set_at_idx (#10891)
- implement drop as special case of
select
(#10885) - raise a more helpful error when non-query statements passed to
read_database
(#10851)
🐞 Bug fixes
- Allow exactly one value in start/end for
int_range
(#10914) - fix(rust, python): raise error when function didn't receive any inputs (#8635)
- count was falsy tagged as cse in group by (#10917)
- CSE don't accept opaque functions (#10905)
- Make
int_range(s)
exclusive on the upper bound when step is negative (#10898) - don't overflow length before checking limit (#10883)
- fix bug where datetimes were not parsed in read_csv when pattern had no hour or minute (#10877)
- use pool in dataframe arithmetic (#10864)
- repair polars_err string interpolation (#10863)
- make count_match docs and extract_all docs/impl consistent around zero matches (#10854)
🛠️ Other improvements
- Set minimum version for pydantic to
2.0.0
(#10923) - fix and clarify docs for
Expr.map_elements
(#10647) - fix rendering of bullet points in dt.round (#10911)
- add test for 10875 (#10913)
- apply with_name in more places (#10899)
- never compare opaque functions (#10906)
- eliminate repetition in utf8 datetime functions (#10860)
- Fix issue templates for bug reports (#10896)
- request verbose logging output of minimal reproducable examples (#10882)
- add a note about
read_database
connection/cursor behaviour (#10873) - introduce with_name for Series/ChunkedArray (#10859)
Thank you to all our contributors for making this release possible!
@Barsik-sus, @MarcoGorelli, @alexander-beedie, @c-peters, @cmdlineluser, @dependabot, @dependabot[bot], @drgif, @jeroenjanssens, @orlp, @ritchie46, @stinodego and @wdoppenberg