TYP final _take_with_is_copy
is overridden in series
#40974
Labels
_take_with_is_copy
is overridden in series
#40974
This method is declared as
final
:pandas/pandas/core/generic.py
Lines 3629 to 3630 in 526d52f
It's then overridden in
series
:pandas/pandas/core/series.py
Line 866 in 526d52f
The reason
mypy
doesn't detect this failure is that the override inseries
in untyped, and somypy
doesn't check it@jbrockmendel do you know which one is correct? Remove
final
or remove the override?The text was updated successfully, but these errors were encountered: