Skip to content

Commit

Permalink
add Column.len
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli committed Nov 21, 2023
1 parent 2623018 commit eb1daa6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/API_specification/dataframe_api/column_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,6 @@ def name(self) -> str:
"""Return name of column."""
...

def __len__(self) -> int:
"""Return the number of rows."""
...

def __iter__(self) -> NoReturn:
"""Iterate over elements.
Expand Down Expand Up @@ -750,6 +746,10 @@ def var(
"""
...

def len(self) -> Scalar:
"""Return the number of rows."""
...

def cumulative_max(self) -> Self:
"""Reduction returns a Column.
Expand Down

0 comments on commit eb1daa6

Please sign in to comment.