github pola-rs/polars py-0.20.30
Python Polars 0.20.30

latest releases: py-1.8.2, py-1.8.1, py-1.8.0...
4 months ago

⚠️ Deprecations

  • Add Series/Expr.has_nulls and deprecate Series.has_validity (#16488)
  • Deprecate tree_format parameter for LazyFrame.explain in favor of format (#16486)

🚀 Performance improvements

  • improved numeric fill_(forward/backward) (#16475)
  • only rechunk once per aggregate (#16469)

✨ Enhancements

  • Minor DataFrame.__getitem__ improvements (#16495)
  • Add is_column_selection() to expression meta, enhance expand_selector (#16479)
  • Add Series/Expr.has_nulls and deprecate Series.has_validity (#16488)
  • NDarray/Tensor support (#16466)

🐞 Bug fixes

  • Fix df.chunked for struct (#16504)
  • Mix of column and field expansion (#16502)
  • Fix split_chunks for nested dtypes (#16493)
  • Fix handling NaT values when creating Series from NumPy ndarray (#16490)
  • Fix boolean trap issue in top_k/bottom_k (#16489)
  • Handle struct.fields as special case of alias (#16484)
  • Correct schema for list.sum (#16483)
  • allow search_sorted directly on multiple chunks, and fix behavior around nulls (#16447)
  • Fix use of COUNT(*) in SQL GROUP BY operations (#16465)
  • respect nan_to_null when using multi-thread in pl.from_pandas (#16459)
  • write_delta() apparently does support Categorical columns (#16454)

📖 Documentation

  • Update the Overview section of the contributing guide (#15674)
  • Use pl.field inside with_fields examples. (#16451)
  • Change ordering of values in example for cum_max (#16456)

🛠️ Other improvements

  • Refactor Series/DataFrame.__getitem__ logic (#16482)

Thank you to all our contributors for making this release possible!
@BGR360, @alexander-beedie, @cmdlineluser, @coastalwhite, @itamarst, @marenwestermann, @mdavis-xyz, @messense, @orlp, @ritchie46 and @stinodego

Don't miss a new polars release

NewReleases is sending notifications on new releases.