pypi narwhals 2.1.0
Narwhals v2.1.0

latest releases: 2.13.0, 2.12.0, 2.11.0...
4 months ago

Changes

✨ Enhancements

  • feat(typing): Add IntoSchema alias (#2945)
  • feat: add list.contains (#2942)
  • feat: add list.unique() (#2940)
  • feat: Add is_boolean method to DType. (#2935)
  • feat: Add Series.from_numpy (#2893)

🐞 Bug fixes

  • fix: Support passing nw.Object to pandas-like (#2953)
  • fix: More aligning modin, pandas dtypes (#2958)
  • fix: Use importlib for polars version (#2952)
  • fix: Use updated from_arrow import for modin (#2919)
  • fix: Allow modin[pyarrow] to use more dtypes (#2950)

📖 Documentation

  • feat(typing): Add IntoSchema alias (#2945)
  • docs: Enable darglint for dataframe and series modules (#2931)

🛠️ Other improvements

  • chore: Refactor SQLExprDateTimeNamespace (#2951)
  • tests: more modern_polars tests (#2903)
  • chore: fixup operator type ignores for SQLExpr (#2920)
  • chore: Simplify polars .list.unique (#2946)
  • chore: Shared Expr.str namespace for sql frontends (#2941)
  • test: include nulls in unique test (#2937)
  • chore: enable more Ruff rules (RET505, A005, ISC001, PD003) (#2923)
  • refactor: Move/remove private Compliant*Frame methods (#2934)
  • refactor: Shrink Polars*Namespace(s) (#2897)
  • refactor: Reduce returns in Namespace.from_native_object (#2914)
  • chore: factor out log from SparkLike, DuckDB, and Ibis (#2915)
  • chore: factor out sqrt from SparkLike, DuckDB, and Ibis (#2876)
  • ci: bump "polars==1.32.2" for typing (#2968)
  • ci: Fix hierarchicalforecast downstream test (#2966)
  • test: unxfail sqlframe on test_unique_expr (#2956)
  • test: unxfail pandas[pyarrow] series slice on nightly (#2954)
  • [pre-commit.ci] pre-commit autoupdate (#2938)
  • test: polars categorical physical order deprecation and (temporarely) xfail datetime selectors (#2922)
  • ci: Run pyspark constructors via path (#2910)

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

Don't miss a new narwhals release

NewReleases is sending notifications on new releases.