Skip to content

Commit

Permalink
Modified ArrowExpr.count
Browse files Browse the repository at this point in the history
  • Loading branch information
ugohuche committed Jul 11, 2024
1 parent 91f9965 commit d1bde36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion narwhals/_arrow/expr.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def __mul__(self, other: ArrowExpr | Any) -> Self:
def mean(self) -> Self:
return reuse_series_implementation(self, "mean", returns_scalar=True)

def count(self) -> Self:
def count(self) -> int:
return reuse_series_implementation(self, "count", returns_scalar=True)

def std(self, ddof: int = 1) -> Self:
Expand Down

0 comments on commit d1bde36

Please sign in to comment.