Skip to content

Commit 77b599a

Browse files
committed
fix: typo and add missing count
1 parent 484c997 commit 77b599a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

narwhals/_compliant/expr.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,9 @@ def n_unique(self) -> Self:
511511
def sum(self) -> Self:
512512
return self._reuse_series_implementation("sum", returns_scalar=True)
513513

514+
def count(self) -> Self:
515+
return self._reuse_series_implementation("count", returns_scalar=True)
516+
514517
def mean(self) -> Self:
515518
return self._reuse_series_implementation("mean", returns_scalar=True)
516519

@@ -539,7 +542,7 @@ def all(self) -> Self:
539542
def max(self) -> Self:
540543
return self._reuse_series_implementation("max", returns_scalar=True)
541544

542-
def mix(self) -> Self:
545+
def min(self) -> Self:
543546
return self._reuse_series_implementation("min", returns_scalar=True)
544547

545548
def arg_min(self) -> Self:

0 commit comments

Comments
 (0)