Skip to content

Releases: narwhals-dev/narwhals

Narwhals v1.6.1

03 Sep 09:47
Compare
Choose a tag to compare

Changes

  • patch: Improve q10, q11, q2, q3, q4, and q5 queries (#893)
  • patch: api completeness table hotfix (#886)

✨ Enhancements

  • feat: Duckdb interchange (#902)
  • feat: Better ibis interchange (#901)
  • feat: Add q6 of tpch (#894)
  • feat: add q5 implementation (#892)
  • feat: add q4 implementation (#891)
  • feat: Add q3 of tpch (#889)
  • feat: query 11 implementation (#887)

📖 Documentation

  • docs: fix error in write_csv docstring (#895)
  • docs: docstring for concat (#808)
  • docs: Example correction (#888)

🛠️ Other improvements

  • chore: clean up gitignore (#900)
  • test: Test dask with npartitions=2 (#877)
  • chore: run mypy only on narwhals/ and tests/ (#885)
  • bench: port tpc-h q10 (#884)

Thank you to all our contributors for making this release possible!
@DeaMariaLeon, @EdAbati, @FBruzzesi, @LiamConnors, @MarcoGorelli, @Nikoleta-v3, @Sherwin-14, @luke396 and @montanarograziano

Narwhals v1.6.0

30 Aug 13:54
Compare
Choose a tag to compare

Changes

  • patch: Improving typing of stable from_native when 'strict=False' (#875)
  • patch: stableify concat function (#869)

✨ Enhancements

  • feat: dask namespace concat method (#840)
  • feat: support when-then-otherwise for Dask (#868)
  • feat: dask expr cast (#821)
  • feat: add maybe_get_index (#867)

🐞 Bug fixes

  • patch: Fix inconsistent between tying and comments in from_native when 'strict=True' (#865)

📖 Documentation

  • docs: fix relative links in contributing.md (#866)
  • docs: add codespace steps and fork steps to CONTRIBUTING.md (#851)

📦 Build system

  • build: exclude more files (plus some drive-by typing) (#882)

🛠️ Other improvements

  • chore: move tpc-h queries to scripts (#880)
  • chore: Exclude utils/ from build (#879)
  • chore: improve (internal) Dask typing (#874)
  • test: unxfail more modin tests (#871)
  • test: Unxfail 2 modin tests (#870)

Thank you to all our contributors for making this release possible!
@EdAbati, @FBruzzesi, @MarcoGorelli, @aidoskanapyanov, @anopsy, @benrutter and @luke396

Narwhals v1.5.5

24 Aug 12:31
Compare
Choose a tag to compare

Changes

  • Revert "patch: allow lit to broadcast as left operand" (#858)
  • patch: allow lit to broadcast as left operand (#854)

✨ Enhancements

  • feat: implement when/then/otherwise for PyArrow (#859)
  • feat: add when-then-otherwise expression (#588)
  • feat: use validate_column_comparand in zip_with (#857)
  • feat: make DataFrame.select stricter: non-string columns can only be selected using nw.col (#855)

🛠️ Other improvements

  • chore: simplify arrow (#860)

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

Narwhals v1.5.4

23 Aug 16:11
Compare
Choose a tag to compare

Changes

  • ci: Correct labeller regex (#852)

✨ Enhancements

  • feat: Add is_pandas_like_dataframe and is_pandas_like_series (#848)
  • feat: Support more indexing: boolean lists to DataFrame.filter and Series.filter, add DataFrame.row, (#847)

🛠️ Other improvements

  • patch: sum_horizontal ignore nulls (#825)
  • chore: nox revamp and coverage threshold change (#850)

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

Narhwals v1.5.3

23 Aug 06:24
Compare
Choose a tag to compare

Changes

✨ Enhancements

  • feat: dask in api-completeness table (#741)
  • feat: add DaskExpr.quantile (#835)
  • feat: mean_horizontal (#843)
  • feat: support __getitem__ with slices for columns (#839)

📖 Documentation

  • docs: add narwhals-gif to README.md (#845)
  • docs: Fix indentation for getitem (#844)

🛠️ Other improvements

  • ci: changed release-drafter regex (#846)
  • test: remove to_numpy and to_list in tests (#842)

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

Narwhals v1.5.2

21 Aug 11:00
Compare
Choose a tag to compare

Changes

🐞 Bug fixes

  • fix: __array__ for pandas (pyarrow dtypes) was raising for old versions of PyArrow (#837)

Thank you to all our contributors for making this release possible!
@MarcoGorelli

Narwhals v1.5.1

21 Aug 10:50
Compare
Choose a tag to compare

Changes

✨ Enhancements

  • feat: write_csv (#832)
  • feat: support dtype and copy in DataFrame.array (#826)
  • feat: allow for non-string columns in select for pandas backend (#828)

🐞 Bug fixes

  • fix: improve validate columns (#829)

Thank you to all our contributors for making this release possible!
@DeaMariaLeon and @MarcoGorelli

Narwhals v1.5.0

20 Aug 14:14
Compare
Choose a tag to compare

Changes

✨ Enhancements

  • feat: add dt.to_string to DaskExpr (#796)
  • feat: add DaskExpr.total_minutes, total_seconds, total_milliseconds, total_microseconds, total_nanoseconds (#811)
  • feat: dask expr is_unique & is_duplicated (#803)
  • feat: add is_in to DaskExpr and mark is_duplicated and is_unique as not implemented (#802)

📦 Build system

  • build: Add cudf and modin to deps (#816)

🛠️ Other improvements

  • test: Remove some to_numpy (#820)
  • build: Add cudf and modin to deps (#816)
  • test: Remove some to_list() (#812)
  • test: Use compare dicts in is_duplicated_test (#809)
  • ci: Modified drafter's labeller regex to match titles with uppercase (#807)
  • chore: use compare_dict in series tests (#801)
  • test: Improve duration_attribute_tests (#798)
  • chore: stable api narwhalify de-duplication (#799)
  • test: Add cudf_constructor to conftest (#797)

Thank you to all our contributors for making this release possible!
@DeaMariaLeon, @FBruzzesi, @MarcoGorelli, @benrutter, @lucianosrp, @luke396 and @thomasjpfan

Narwhals v1.4.2

15 Aug 16:31
Compare
Choose a tag to compare

Changes

  • [pre-commit.ci] pre-commit autoupdate (#308)

✨ Enhancements

  • feat: add diff() method to Dask backend (#793)
  • feat: add dask Expr.null_count (#792)

🐞 Bug fixes

  • fix: cuDF compat (#794)

📖 Documentation

  • docs: add Narwhals.dependencies to API reference (#791)

Thank you to all our contributors for making this release possible!
@MarcoGorelli, @anopsy, @pre-commit-ci, @pre-commit-ci[bot] and @raisadz

Narwhals v1.4.1

14 Aug 08:07
dbfd722
Compare
Choose a tag to compare

Changes

✨ Enhancements

  • feat: add narwhals.new_series (#787)
  • feat: Support Arrow PyCapsule Interface for export (#786)
  • feat: improve typing for to_pandas / to_numpy / to_arrow (#783)
  • feat: extend dataframe drop method (#773)

🛠️ Other improvements

  • chore: import overhaul (#788)
  • chore: rename _native_dataframe to _native_frame (#785)
  • chore: rename internal dtype functions (#780)

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