Narwhals

Latest version: v1.14.1

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 20

1.4.0

Changes

πŸš€ Performance improvements

- perf: remove some lambdas from _dask backend (765)

✨ Enhancements

- feat: allow `from_dict` to not have native_namespace arg if all inputs are already narwhals Series (760)
- feat: extend dataframe `drop_nulls` method (779)
- feat: implement LazyFrame.head for Dask (plus: run tpc-h q2 query with Dask present) (768)
- feat: add `str.replace` and `str.replace_all` (750)
- feat: dask lazyframe remaining methods (778)
- feat: dask `sum_horizontal` (775)
- feat: dask namespace `lit` method (772)
- feat: `DaskSelectorNamespace` (771)
- feat: dataframe `to_arrow` method (770)
- feat: series `to_arrow` method (769)
- feat: dask expr `is_first|last_distinct` methods (764)
- feat: dask expr `__invert__`, `is_null`, `n_unique` methods (763)
- feat: dask expr `len` method (762)
- feat: `Series.pipe` and `Expr.pipe` (582)

🐞 Bug fixes

- fix: empty with_columns not working for pandas backend (757)

πŸ“– Documentation

- docs: add Altair to "used by" section (776)
- docs: include "downloads per month" in readme (774)
- docs: run tpch q1 with more libraries (759)
- docs: use animals instead of cars in example (758)
- docs: patch `Series.cat` page (755)

πŸ› οΈ Other improvements

- chore: simplify Expr.clip (777)
- chore: tests series_only refactor (766)

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

1.3.0

Changes

πŸš€ Performance improvements

- perf: keep `nw.len` totally lazy for dask (749)

✨ Enhancements

- feat: Added `Expr.any` and `Expr.all` to Dask (748)
- feat: arrow `__mod__` method (618)
- feat: allow tpc-h q1 to be run with Dask as backend (747)
- feat: add NotImplementedError error for index changing methods Dask (744)
- feat: Added `Expr.abs` to Dask (728)
- feat: add Dask `Expr.count` (731)
- feat: dask expr name namespace (735)
- feat: add `date` to datetime namespace (713)
- feat: dask expr dunder methods (740)

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

1.2.0

Changes

- Feat: `Series.shift` Pyarrow Backend Implementation (590)
- move over dask dt attributes tests (704)

πŸš€ Performance improvements

- perf: only use as_py for pyarrow when necessary (before pyarrow 13) (724)

✨ Enhancements

- feat: arrow and dask expr `clip` method (729)
- feat: add dask `Expr.std` (734)
- feat: support reductions in lazyframe.select for Dask (723)
- feat: DaskLazyFrame `unique` method (726)
- feat: DaskLazyFrame `join` and `sort`, DaskNamespace `all` (725)
- feat: add `group_by` to dask (718)
- feat: add series and expr `clip` method (701)
- feat: Add `Expr.round` to Dask (709)
- feat: add `strip_chars` to string namespace (715)
- feat: `ArrowGroupBy.__iter__` method (717)
- feat: arrow expr `over` method (721)
- feat: dask `with_row_index` and `rename` (692)
- feat: dask equality and inequality operators (708)
- feat: add `round` to Arrow (696)
- feat: dask `any_horizontal` and generalize `all_horizontal` (693)
- feat: Dask frame `drop` method (699)
- feat: dask `schema` and `collect_schema` (688)
- feat: add dask `Expr.max` and test (691)
- feat: add dask `Expr.min` and test (690)

🐞 Bug fixes

- patch: pandas-like and pyarrow scalar reduction fix (716)

πŸ“– Documentation

- docs: how it works bulletpoint indentation (719)
- docs: Fix how-it-works, add favicon+logo (710)
- docs: correction of `how_it_works.md` (707)
- docs: Contributing guide correction (706)
- docs: fix todo, avoid lazyframe collect_schema warning (687)
- docs: explain translation from narwhals api to native api (684)

πŸ› οΈ Other improvements

- ci: fix import error from dask test (737)
- ci: fix ci from pytest importerror (736)
- test: improve coverage for `from_native` (dask) (733)
- test: toggle coverage for dask group_by (732)
- chore: Factor all remaining tests out of `test_common.py` (720)
- chore: remove dask_test completely (705)
- chore: moving most dask tests over to the main test suite (703)
- test: mark failing dask tests, add dask to constructor (697)

Thank you to all our contributors for making this release possible!
DeaMariaLeon, FBruzzesi, MarcoGorelli, aidoskanapyanov, aivanoved, amol-, anopsy, condekind, lucianosrp, mfonekpo and mistShard

1.1.9

Changes

- Feat: Dask filter and __and__ method added (676)
- bug: fix `iter_rows` inconsistency in pandas (671)

πŸš€ Performance improvements

- perf: some comprehensions over loops (679)

✨ Enhancements

- feat: add `fill_null` to `DaskExpr` (685)
- feat: add `drop_nulls` for dask (675)
- feat: dask `columns` property & `filter` method (670)
- feat: dask `select` method (667)
- feat: add year, month, day, hour, minute, second, millisecond, micros… (666)
- feat: add `to_lowercase`, `to_uppercase`, `to_datetime` for dask (665)
- feat: add `ends_with`, `contains`, `slice` for dask (664)
- feat: Added Dask `Expr.sum` (662)

🐞 Bug fixes

- fix: dask expr `dt.nanosecond` implementation (678)

πŸ“– Documentation

- doc: Made changes to the file explaining the `UserWarning` error while using pandas `group_by's (677)

πŸ› οΈ Other improvements

- tests: add pytest-env to dev requirements (683)
- ci: adopt uv (682)
- chore: factor `system_info` tests outside `test_common` (680)
- test: xfail uppecase for dask and pyarrow 11.0.0 (672)
- chore: enable more lazy tests (663)

Thank you to all our contributors for making this release possible!
DeaMariaLeon, EdAbati, FBruzzesi, MarcoGorelli, aidoskanapyanov, benrutter, lucianosrp, mistShard and montanarograziano

1.1.8

Changes

- skip changelog(deps): bump sigstore/gh-action-sigstore-python from 2.1.1 to 3.0.0 (634)
- skip changelog(deps): bump actions/setup-python from 4 to 5 (633)
- removed utils/check_backend_completeness.py (628)

πŸš€ Performance improvements

- perf: optimizing arrow to_dummies (627)

✨ Enhancements

- feat: add collect for dask (651)
- feat: added dask `Expr.__sub__` (643)
- feat: add `starts_with` for dask (648)
- feat: add `is_between` for dask (642)
- feat: added dask `Expr.__mul__` and test cases (644)
- feat: add cum_sum for dask (641)
- feat: add shift for Dask Dataframe (638)
- feat: Add initial (and very minimal) support for Dask.DataFrame (635)

🐞 Bug fixes

- fix: fix dask version in dask backend (640)
- fix dask typo (639)

πŸ› οΈ Other improvements

- chore: remove some pyarrow xfails from tests, further split up (660)
- chore: enable more lazy tests (658)
- chore: factor `test_std` outside `test_common` (657)
- chore: enable more lazy tests (656)
- chore: rename constructor -> constructor_eager, constructor_lazy -> constructor (654)
- chore: factor `test_schema` and `test_collect_schema` out of `test_common` (655)
- chore: More lazy vs eager separation (653)
- chore: split eager-only and eager+lazy tests a bit (652)
- chore: use constructor instead of constructor_series in tests more (650)
- chore: replace constructor_series with constructor (649)
- chore: replace constructor_with_series with constructor in gather_every_test (646)
- ci: Add dependabot (632)
- chore: allow unknown/extension namespaces for `from_dict` function (626)

Thank you to all our contributors for making this release possible!
DeaMariaLeon, FBruzzesi, MarcoGorelli, aidoskanapyanov, anopsy, dependabot, dependabot[bot], montanarograziano and ugohuche

1.1.7

Changes

✨ Enhancements

- feat: `gather_every` methods (619)
- feat: raise informative error if getitem is used in unsupported manner (624)
- feat: allow slicing by tuple of sequences of ints (622)
- feat: arrow datetime namespace (616)

πŸ“– Documentation

- docs: replace `df_any`/`s_any` with `df`/`s` (621)

πŸ› οΈ Other improvements

- chore: factor `test_empty_select` out of `test_common` (to existing `select_test.py`) (617)
- ci: improve release process (615)

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

Page 7 of 20

Β© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.