Skip to content

Commit

Permalink
Fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
phofl committed Jan 7, 2024
1 parent 572f1c5 commit f01f4cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pandas/core/arrays/masked.py
Original file line number Diff line number Diff line change
Expand Up @@ -1565,9 +1565,9 @@ def interpolate(
**kwargs,
)
if not copy:
return self
return self # type: ignore[return-value]
if self.dtype.kind == "f":
return type(self)._simple_new(data, mask)
return type(self)._simple_new(data, mask) # type: ignore[return-value]
else:
from pandas.core.arrays import FloatingArray

Expand Down

0 comments on commit f01f4cf

Please sign in to comment.