Skip to content

Commit 2630ddc

Browse files
committed
add NotImplementedError in Dask drop_null/count
1 parent 63627a2 commit 2630ddc

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

narwhals/_dask/expr.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -450,16 +450,6 @@ def clip(
450450
returns_scalar=False,
451451
)
452452

453-
def head(self) -> NoReturn:
454-
# We can't (yet?) allow methods which modify the index
455-
msg = "`Expr.head` is not supported for the Dask backend. Please use `LazyFrame.head` instead."
456-
raise NotImplementedError(msg)
457-
458-
def tail(self) -> NoReturn:
459-
# We can't (yet?) allow methods which modify the index
460-
msg = "`Expr.tail` is not supported for the Dask backend. Please use `LazyFrame.tail` instead."
461-
raise NotImplementedError(msg)
462-
463453
@property
464454
def str(self: Self) -> DaskExprStringNamespace:
465455
return DaskExprStringNamespace(self)

0 commit comments

Comments
 (0)