Skip to content

Commit

Permalink
pipe comes from upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
FBruzzesi committed Jul 11, 2024
1 parent 78020d3 commit 4d8648e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions narwhals/_arrow/dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

from typing import TYPE_CHECKING
from typing import Any
from typing import Callable
from typing import Iterable
from typing import Sequence
from typing import overload
Expand Down Expand Up @@ -215,9 +214,6 @@ def to_dict(self, *, as_series: bool) -> Any:
else:
return {name: col.to_pylist() for name, col in names_and_values}

def pipe(self, function: Callable[[Any], Self], *args: Any, **kwargs: Any) -> Self:
return function(self, *args, **kwargs)

def with_row_index(self, name: str) -> Self:
pa = get_pyarrow()
df = self._native_dataframe
Expand Down
1 change: 1 addition & 0 deletions utils/check_backend_completeness.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"DataFrame.iter_rows",
"DataFrame.join",
"DataFrame.null_count",
"DataFrame.pipe",
"DataFrame.rename",
"DataFrame.tail",
"DataFrame.unique",
Expand Down

0 comments on commit 4d8648e

Please sign in to comment.