We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b82aaff commit 26ef7b5Copy full SHA for 26ef7b5
pandas/core/missing.py
@@ -292,7 +292,7 @@ def _derive_indices_of_nans_to_preserve(
292
limit: Optional[int] = None,
293
limit_area: Optional[str] = None,
294
limit_direction: Optional[str] = None,
295
-):
+) -> List[int]:
296
"""
297
Derive the indices of NaNs that shall be preserved after interpolation
298
This function is called by `interpolate_1d` and takes the arguments with
@@ -310,7 +310,7 @@ def _derive_indices_of_nans_to_preserve(
310
311
Returns
312
-------
313
- preserve_nans: set
+ preserve_nans: list of int
314
Set of index pointers to where NaNs should be preserved in `yvalues`
315
316
0 commit comments