pypi narwhals 2.21.0
Narwhals v2.21.0

3 hours ago

Changes

✨ Enhancements

  • feat: expressify str.{starts,ends}_with (#3601)
  • feat: Add Expr.quantile for spark-like backends (#3568)

🐞 Bug fixes

  • fix: Fix over with partition_by and order_by with scrambed groups for pandas (#3603)
  • fix: Add fallback for incompatible string concenation in pandas (#3548)
  • fix: Allow float('nan') as value in join for duckdb (#3555)
  • [fix]: Fix bug in ibis where log base is not set to e by default (#3596)

📖 Documentation

  • ci: Add check for building docs in strict mode (#3591)
  • docs: Clarify behavior of Expr.over(order_by=...) (#3549)
  • docs: Add note on return type of columns property (#3575)
  • adding pysummaries to packages using narwhals (#3580)
  • docs: Add OpenSSF and LFX Health score cards (#3576)
  • docs: Add missing exceptions in api-reference (#3574)
  • fix(docs): Include dask and ibis in docs dependencies (#3562)
  • fix(docs): Include dask and ibis in docs dependencies (#3562)

🛠️ Other improvements

  • chore(python): bump pyrefly (#3604)
  • chore: expand on security.md; add permission to check-docs-build workflow (#3599)
  • chore: remove unnecessary issubclass check in native_to_narwhals_dtype in _polars (#3594)
  • chore: use pandas in get_categories to avoid polars categorical flakiness (#3592)
  • chore: uppercase no_default sentinel (#3587)
  • chore: fix defaults for strict in to_native v1 overloads (#3586)
  • chore: run Pyrefly on tests (#3563)
  • ci: temporarily pin Pyright (#3585)
  • chore(python): pin pyarrow version in typing job, adjust tests for pyarrow 24 (#3561)
  • ci: Fixup darts downstream job (#3597)
  • [pre-commit.ci] pre-commit autoupdate (#3595)
  • ci: Pin GHA to a full length commit SHA; add permissions; add CodeQL check (#3577)
  • feat: Add {Expr,Series}.str.to_time (#3538)
  • fix: pandas-like quantile in group-by context (#3583)
  • ci: Add scorecard github action (#3573)
  • test: The Asia/Katmandu timezone is deprecated (#3565)

Thank you to all our contributors for making this release possible!
@FBruzzesi, @MarcoGorelli, @camriddell, @dependabot[bot], @ofajardo, @pedro-villanueva-bcom, @pre-commit-ci[bot], dependabot[bot] and pre-commit-ci[bot]

Don't miss a new narwhals release

NewReleases is sending notifications on new releases.