pypi narwhals 1.28.0
Narwhals v1.28.0

latest releases: 2.14.0, 2.13.0, 2.12.0...
10 months ago

Changes

🚀 Performance improvements

  • perf: avoid repeating constant iteration (#2079)
  • chore(perf): move combine_evaluate_output_names check (#2040)
  • perf: Avoid double-parsing in concat_str (#2039)

✨ Enhancements

  • enh: Deprecate native_namespace in favour of backend in read_csv (#2063)

🐞 Bug fixes

  • chore: remove unused kwargs in _pandas_like and _arrow (#2069)
  • fix: disallow non-elementary operations in .over for pandas (#2062)
  • fix: Type conversion from Spark Struct to narwhals Struct. (#2037)
  • fix: Use metaclass for safe DType attr access (#2025)

📖 Documentation

  • docs: remove griffe fork to build docs (#2080)
  • chore: remove unused kwargs in _pandas_like and _arrow (#2069)
  • docs: Add standardized test failure patterns to CONTRIBUTING.md (#2052)

🛠️ Other improvements

  • chore(typing): Remove unused pyright ignores (#2076)
  • chore(typing): Re-enable mypy strict (#2077)
  • refactor: Use real class for ExprMetadata (#2074)
  • chore: use combine_metadata more (#2073)
  • chore: use default_metadata (#2072)
  • chore: use more expression metadata functions (#2071)
  • chore: use Expr._from_callable (#2070)
  • chore: remove unused kwargs in _pandas_like and _arrow (#2069)
  • chore: use change_metadata_kind (#2067)
  • chore(typing): add CompliantSeries.dtype (#2066)
  • refactor(typing): make _evaluate_output_names generic (#2053)
  • refactor(typing): Avoid more ignore[attr-defined] on Datetime (#2049)
  • chore: remove more kwargs from dask, dont treat ddof as expressifiable arg (#2059)
  • chore(typing): add CompliantExpr._version (#2060)
  • chore: remove kwargs from selector function (#2058)
  • refactor: deduplicate *.selectors (#2057)
  • ci(typing): add pyright to ci (#2035)
  • chore: refactor EVERYTHING to do with broadcasting (#2005)
  • ci: dont pass filenames to mypy in pre-commit (#2046)
  • chore: add colors in CI and run marimo only in selected python version (#2043)
  • chore(perf): move combine_evaluate_output_names check (#2040)
  • chore: refactor right-hand-side arithmetic to not use lit (#2034)

Thank you to all our contributors for making this release possible!
@EdAbati, @FBruzzesi, @MarcoGorelli, @dangotbanned, @luke396, @osoucy and @raisadz

Don't miss a new narwhals release

NewReleases is sending notifications on new releases.