File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
spec/API_specification/dataframe_api Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -90,10 +90,6 @@ def name(self) -> str:
90
90
"""Return name of column."""
91
91
...
92
92
93
- def __len__ (self ) -> int :
94
- """Return the number of rows."""
95
- ...
96
-
97
93
def __iter__ (self ) -> NoReturn :
98
94
"""Iterate over elements.
99
95
@@ -750,6 +746,10 @@ def var(
750
746
"""
751
747
...
752
748
749
+ def len (self ) -> Scalar :
750
+ """Return the number of rows."""
751
+ ...
752
+
753
753
def cumulative_max (self ) -> Self :
754
754
"""Reduction returns a Column.
755
755
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ class NullType:
69
69
null : NullType
70
70
71
71
class Datetime :
72
- time_unit : Literal ['ms' , 'us' ]
72
+ time_unit : Literal ["ms" , "us" ]
73
73
time_zone : str | None
74
74
75
75
def __init__ ( # noqa: ANN204
@@ -80,7 +80,7 @@ def __init__( # noqa: ANN204
80
80
...
81
81
82
82
class Duration :
83
- time_unit : Literal ['ms' , 'us' ]
83
+ time_unit : Literal ["ms" , "us" ]
84
84
85
85
def __init__ ( # noqa: ANN204
86
86
self ,
You can’t perform that action at this time.
0 commit comments