File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -403,7 +403,7 @@ def var(self: Self, ddof: int) -> Self:
403
403
def _var (_input : duckdb .Expression ) -> duckdb .Expression :
404
404
n_samples = FunctionExpression ("count" , _input )
405
405
# NOTE: Not implemented Error: Unable to transform python value of type '<class 'duckdb.duckdb.Expression'>' to DuckDB LogicalType
406
- return FunctionExpression ("var_pop" , _input ) * n_samples / (n_samples - ddof ) # type: ignore[operator]
406
+ return FunctionExpression ("var_pop" , _input ) * n_samples / (n_samples - ddof ) # type: ignore[operator, no-any-return ]
407
407
408
408
return self ._from_call (_var , "var" )
409
409
Original file line number Diff line number Diff line change @@ -296,10 +296,10 @@ def extract_compliant(
296
296
if isinstance (other , str ) and not str_as_lit :
297
297
return plx .col (other )
298
298
if is_narwhals_series (other ):
299
- return plx ._create_expr_from_series (other ._compliant_series ) # type: ignore[attr-defined]
299
+ return plx ._create_expr_from_series (other ._compliant_series ) # type: ignore[attr-defined, no-any-return ]
300
300
if is_numpy_array (other ):
301
301
series = plx ._create_compliant_series (other ) # type: ignore[attr-defined]
302
- return plx ._create_expr_from_series (series ) # type: ignore[attr-defined]
302
+ return plx ._create_expr_from_series (series ) # type: ignore[attr-defined, no-any-return ]
303
303
return other
304
304
305
305
You can’t perform that action at this time.
0 commit comments