pypi narwhals 2.8.0
Narwhals v2.8.0

latest releases: 2.13.0, 2.12.0, 2.11.0...
one month ago

Changes

🚀 Performance improvements

  • perf: Add __slots__ to all DTypes (#3194)
  • perf: avoid full broadcast in horizontal functions (#3199)
  • fix: correctly preserve arrow dtypes for pandas-like, improve concat_str performance (#3193)
  • perf: Prefer Iterator > tuple > list, use native pyarrow.repeat, simplify nw.concat_str for DuckDB backend (#3190)

✨ Enhancements

  • feat: Add support for {Expr,Series}.str.to_titlecase (#3116)

🐞 Bug fixes

  • fix: correctly preserve arrow dtypes for pandas-like, improve concat_str performance (#3193)
  • fix: BaseFrame.filter with list[bool] in predicates (#3183)

🛠️ Other improvements

  • chore: Add script to automatically sort members in api-reference (#3200)
  • ci: Unpin (some) dependencies (#3186)
  • chore: pandas-nightly and duckdb-nightly fixes (#3158)
  • [pre-commit.ci] pre-commit autoupdate (#3181)

Thank you to all our contributors for making this release possible!
@FBruzzesi, @MarcoGorelli, @dangotbanned, @pre-commit-ci[bot] and pre-commit-ci[bot]

Don't miss a new narwhals release

NewReleases is sending notifications on new releases.