From b48a5acd1592f23826ddbd04d07ffc28046b94e4 Mon Sep 17 00:00:00 2001 From: tp Date: Sat, 21 Apr 2018 11:15:41 +0100 Subject: [PATCH] Add interpolate to doc string --- pandas/core/generic.py | 1 + pandas/core/resample.py | 1 + 2 files changed, 2 insertions(+) diff --git a/pandas/core/generic.py b/pandas/core/generic.py index d3ab7afc025c9..2b683d3a606b1 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -5289,6 +5289,7 @@ def fillna(self, value=None, method=None, axis=None, inplace=False, See Also -------- + interpolate : Fill NaN values using interpolation. reindex, asfreq Returns diff --git a/pandas/core/resample.py b/pandas/core/resample.py index 0d0023b9f67d3..f8d283e932f44 100644 --- a/pandas/core/resample.py +++ b/pandas/core/resample.py @@ -659,6 +659,7 @@ def fillna(self, method, limit=None): pad : Forward fill NaN values in the resampled data. nearest : Fill NaN values in the resampled data with nearest neighbor starting from center. + interpolate : Fill NaN values using interpolation. pandas.Series.fillna : Fill NaN values in the Series using the specified method, which can be 'bfill' and 'ffill'. pandas.DataFrame.fillna : Fill NaN values in the DataFrame using the