We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ecbea3 commit f57f47aCopy full SHA for f57f47a
spec/API_specification/dataframe_api/column_object.py
@@ -90,10 +90,6 @@ def name(self) -> str:
90
"""Return name of column."""
91
...
92
93
- def __len__(self) -> int:
94
- """Return the number of rows."""
95
- ...
96
-
97
def __iter__(self) -> NoReturn:
98
"""Iterate over elements.
99
@@ -750,6 +746,10 @@ def var(
750
746
"""
751
747
752
748
749
+ def len(self) -> Scalar:
+ """Return the number of rows."""
+ ...
+
753
def n_unique(self, *, skip_nulls: bool = True) -> Scalar:
754
"""Return number of unique values.
755
0 commit comments