Skip to content

Commit d25cb8d

Browse files
authored
DOC: Add summary to interpolate (#37042)
* DOC: add basic description to interpolate method This basic description can be useful for users who don't know what interpolation is and this may help with SEO to search for more powerful method than the `.fillna()` method. * DOC: update fillna info to contrast interpolate In the "See Also" section of interpolate, the fillna method sounds very similar, but it actually is more limited. So this commit makes this distinction more clear. * DOC: condense interpolate method summary text * DOC: revert description change of fillna
1 parent 31c48ee commit d25cb8d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pandas/core/generic.py

+2
Original file line numberDiff line numberDiff line change
@@ -6837,6 +6837,8 @@ def interpolate(
68376837
**kwargs,
68386838
) -> Optional[FrameOrSeries]:
68396839
"""
6840+
Fill NaN values using an interpolation method.
6841+
68406842
Please note that only ``method='linear'`` is supported for
68416843
DataFrame/Series with a MultiIndex.
68426844

0 commit comments

Comments
 (0)