@@ -53,8 +53,8 @@ def from_column_names(
5353 return cls (
5454 lambda df : [
5555 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 ,
5858 implementation = implementation ,
5959 )
6060 for column_name in column_names
@@ -71,7 +71,7 @@ def __expr_namespace__(self) -> NamespaceProtocol:
7171
7272 return Namespace (
7373 api_version = "todo" ,
74- implementation = self ._implementation , # type: ignore[attr-defined]
74+ implementation = self ._implementation ,
7575 )
7676
7777 def __eq__ (self , other : Expr | Any ) -> Self : # type: ignore[override]
@@ -104,7 +104,7 @@ def __or__(self, other: Expr | bool | Any) -> Self:
104104 def __ror__ (self , other : Any ) -> Self :
105105 return register_expression_call (self , "__ror__" , other )
106106
107- def __add__ (self , other : Expr | Any ) -> Self : # type: ignore[override]
107+ def __add__ (self , other : Expr | Any ) -> Self :
108108 return register_expression_call (self , "__add__" , other )
109109
110110 def __radd__ (self , other : Any ) -> Self :
@@ -222,31 +222,31 @@ def ends_with(self, suffix: str) -> Expr:
222222 lambda df : [
223223 Series (
224224 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 ,
227227 )
228- for series in self ._expr .call (df ) # type: ignore[attr-defined]
228+ for series in self ._expr .call (df )
229229 ],
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 ,
235235 )
236236
237237 def strip_chars (self , characters : str = " " ) -> Expr :
238238 return Expr (
239239 lambda df : [
240240 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 ,
244244 )
245- for series in self ._expr .call (df ) # type: ignore[attr-defined]
245+ for series in self ._expr .call (df )
246246 ],
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 ,
252252 )
0 commit comments