pypi narwhals 1.36.0
Narwhals v1.36.0

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

Changes

🚀 Performance improvements

  • perf: Delay converting categories to tuple for Enum (#2414)
  • perf: cache columns property for lazyframe's (#2407)

✨ Enhancements

  • feat: Improve DataFrame.__getitem__ consistency (#2393)
  • feat: Support for additional rank methods in spark-like (#2409)
  • feat: Add support for DuckDB Enum (#2401)
  • feat: Adds private Namespace class (#2324)
  • feat: let nw.Enum accept categories, map pandas ordered categorical to Enum (only in main namespace, not stable.v1) (#2192)
  • feat(typing): Add polars python type aliases (#2362)

🐞 Bug fixes

  • fix: Use np.generic in is_numpy_scalar (#2395)
  • fix(typing): Narrow TypeVar(s) used in (Data|Lazy)Frame (#2356)

📖 Documentation

  • docs: add docstrings examples for Int128 and UInt128 (#2396)
  • docs: Update installation guide to reflect use of dependency-groups (#2392)

🛠️ Other improvements

  • test: fixup test suite for cudf (#2418)
  • test: update tests so cudf is green (#2411)
  • perf: cache columns property for lazyframe's (#2407)
  • chore: DuckDB dtype parsing using .id and .children properties (#2406)
  • feat: Adds private Namespace class (#2324)
  • chore(typing): Remove all self: Self annotations (#2399)
  • chore: use pytest.skip for dt tests which can never pass (#2398)
  • chore(typing): Remove type from is_list_of return (#2397)
  • chore: @requires for backend method constraints (#2371)
  • chore: use __getitem__ less internally (#2390)
  • refactor: Simplify (Arrow|PandasLike)Namespace.concat (#2381)

Thank you to all our contributors for making this release possible!
@FBruzzesi, @MarcoGorelli, @camriddell, @dangotbanned and @mollydesjardin

Don't miss a new narwhals release

NewReleases is sending notifications on new releases.