Skip to content

Commit 556a3cf

Browse files
committed
clean up
-black formating -remove variables that are now obsolete
1 parent 3e968fc commit 556a3cf

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

pandas/core/missing.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -288,10 +288,7 @@ def interpolate_1d(
288288

289289

290290
def _derive_indices_of_nans_to_preserve(
291-
yvalues: ArrayLike,
292-
limit: int,
293-
limit_area: str,
294-
limit_direction: str,
291+
yvalues: ArrayLike, limit: int, limit_area: str, limit_direction: str
295292
):
296293
"""
297294
Derive the indices of NaNs that shall be preserved after interpolation
@@ -544,8 +541,6 @@ def interpolate_1d_fill(
544541
orig_values = values
545542

546543
yvalues = values
547-
invalid = isna(yvalues)
548-
valid = ~invalid
549544

550545
if values.ndim > 1:
551546
raise AssertionError("This only works with 1D data.")

0 commit comments

Comments
 (0)