@@ -53,8 +53,8 @@ def from_column_names(
53
53
return cls (
54
54
lambda df : [
55
55
Series (
56
- df .dataframe .loc [:, column_name ], # type: ignore[union-attr]
57
- api_version = df ._api_version , # type: ignore[union-attr] # type: ignore[union-attr]
56
+ df .dataframe .loc [:, column_name ],
57
+ api_version = df ._api_version ,
58
58
implementation = implementation ,
59
59
)
60
60
for column_name in column_names
@@ -71,7 +71,7 @@ def __expr_namespace__(self) -> NamespaceProtocol:
71
71
72
72
return Namespace (
73
73
api_version = "todo" ,
74
- implementation = self ._implementation , # type: ignore[attr-defined]
74
+ implementation = self ._implementation ,
75
75
)
76
76
77
77
def __eq__ (self , other : Expr | Any ) -> Self : # type: ignore[override]
@@ -104,7 +104,7 @@ def __or__(self, other: Expr | bool | Any) -> Self:
104
104
def __ror__ (self , other : Any ) -> Self :
105
105
return register_expression_call (self , "__ror__" , other )
106
106
107
- def __add__ (self , other : Expr | Any ) -> Self : # type: ignore[override]
107
+ def __add__ (self , other : Expr | Any ) -> Self :
108
108
return register_expression_call (self , "__add__" , other )
109
109
110
110
def __radd__ (self , other : Any ) -> Self :
@@ -222,31 +222,31 @@ def ends_with(self, suffix: str) -> Expr:
222
222
lambda df : [
223
223
Series (
224
224
series .series .str .endswith (suffix ),
225
- api_version = df ._api_version , # type: ignore[union-attr]
226
- implementation = df ._implementation , # type: ignore[union-attr]
225
+ api_version = df ._api_version ,
226
+ implementation = df ._implementation ,
227
227
)
228
- for series in self ._expr .call (df ) # type: ignore[attr-defined]
228
+ for series in self ._expr .call (df )
229
229
],
230
- depth = self ._expr ._depth + 1 , # type: ignore[attr-defined]
231
- function_name = self ._expr ._function_name , # type: ignore[attr-defined]
232
- root_names = self ._expr ._root_names , # type: ignore[attr-defined]
233
- output_names = self ._expr ._output_names , # type: ignore[attr-defined]
234
- implementation = self ._expr ._implementation , # type: ignore[attr-defined]
230
+ depth = self ._expr ._depth + 1 ,
231
+ function_name = self ._expr ._function_name ,
232
+ root_names = self ._expr ._root_names ,
233
+ output_names = self ._expr ._output_names ,
234
+ implementation = self ._expr ._implementation ,
235
235
)
236
236
237
237
def strip_chars (self , characters : str = " " ) -> Expr :
238
238
return Expr (
239
239
lambda df : [
240
240
Series (
241
- series .series .str .strip (characters ), # type: ignore[attr-defined]
242
- api_version = df ._api_version , # type: ignore[union-attr]
243
- implementation = df ._implementation , # type: ignore[union-attr]
241
+ series .series .str .strip (characters ),
242
+ api_version = df ._api_version ,
243
+ implementation = df ._implementation ,
244
244
)
245
- for series in self ._expr .call (df ) # type: ignore[attr-defined]
245
+ for series in self ._expr .call (df )
246
246
],
247
- depth = self ._expr ._depth + 1 , # type: ignore[attr-defined]
248
- function_name = self ._expr ._function_name , # type: ignore[attr-defined]
249
- root_names = self ._expr ._root_names , # type: ignore[attr-defined]
250
- output_names = self ._expr ._output_names , # type: ignore[attr-defined]
251
- implementation = self ._expr ._implementation , # type: ignore[attr-defined]
247
+ depth = self ._expr ._depth + 1 ,
248
+ function_name = self ._expr ._function_name ,
249
+ root_names = self ._expr ._root_names ,
250
+ output_names = self ._expr ._output_names ,
251
+ implementation = self ._expr ._implementation ,
252
252
)
0 commit comments