pypi narwhals 1.45.0
Narwhals v1.45.0

latest releases: 2.17.0, 2.16.0, 2.15.0...
8 months ago

Changes

✨ Enhancements

  • feat: Add Expr|Series.str.to_date (#2747)
  • feat: add ignore_nulls to any_horizontal and all_horizontal (#2719)
  • feat: Add order_by option in with_row_index method (#2683)

🐞 Bug fixes

  • patch: Preserve pandas "pyarrow" dtype_backend in str.to_datetime (#2740)
  • fix: zfill for old polars and pyarrow versions (#2736)
  • fix: ensure fill_null doesn't silently downcast for pandas per-3.0 (#2724)

🛠️ Other improvements

  • test: Suppress NotImplementedError for cuDF (#2760)
  • test: xfail floordiv polars on GPU engine (#2763)
  • ci: Fail polars 0.20.6 in floordiv by zero (#2758)
  • ci: use try_divide in PySpark for division (#2754)
  • test: div by zero returns nan (#2636)
  • chore: share binary comparisons between duckdb/ibis/spark (#2743)
  • typing: Return Self whenever possible (#2730)
  • ci: pin sqlglot, use different cache_suffixes for different jobs (#2767)
  • chore: Add pandas-like import_array_module util function (#2757)
  • chore: Add LazyExprNamespace (#2756)
  • ci: fixup old versions for floordiv test (#2755)
  • chore: Remove unreachable hash check (#2750)
  • chore: Split out, doc is_dtype_numpy_nullable (#2744)
  • chore: Simplify PandasLikeDataFrame|DaskLazyFrame.join method (#2511)
  • chore: Remove pandas-like specific check_column_names_are_unique util (#2749)
  • chore: Add _constants module (#2737)
  • refactor: Enforce LazyExpr._from_elementwise_horizontal_op (#2718)
  • ci: cuDF fixup (#2739)
  • chore(typing): Improving _pandas_like.utils (#2714)
  • chore(typing): Add _typing_compat.assert_never (#2717)
  • chore(typing): Widen _utils signatures (#2712)
  • chore(typing): More isinstance_or_issubclass overloads (#2731)
  • chore: alias FunctionExpression as F (#2734)
  • chore: use window_expression for DuckDB (#2729)

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

Don't miss a new narwhals release

NewReleases is sending notifications on new releases.