From acfdd205b0567f44b91257df661a4852f83e3280 Mon Sep 17 00:00:00 2001 From: willweil <32082133+willweil@users.noreply.github.com> Date: Fri, 22 Feb 2019 17:15:12 -0500 Subject: [PATCH 1/2] Correct a typo of version number in the docstring of _shared_docs['interpolate'] which is the docstring for pandas.core.resample.Resampler.interpolate, pandas.DataFrame.interpolate, pandas.Series.interpolate, and pandas.Panel.interpolate. Reference can be found at https://github.com/pandas-dev/pandas/issues/8000 --- pandas/core/generic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 3647565123523..eb84a9a5810f4 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -6648,7 +6648,7 @@ def replace(self, to_replace=None, value=None, inplace=False, limit=None, (interpolate). * 'outside': Only fill NaNs outside valid values (extrapolate). - .. versionadded:: 0.21.0 + .. versionadded:: 0.23.0 downcast : optional, 'infer' or None, defaults to None Downcast dtypes if possible. From b93be78e5383c4ff811d7a8cb042a4cd0ee0df4e Mon Sep 17 00:00:00 2001 From: willweil <32082133+willweil@users.noreply.github.com> Date: Fri, 22 Feb 2019 17:28:02 -0500 Subject: [PATCH 2/2] Correct a typo of version number in documentation/user_guide/missing_data about the limit_area keyword argument in interpolate(). The reference can be found at https://github.com/pandas-dev/pandas/issues/8000#issuecomment-465802842. --- doc/source/user_guide/missing_data.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/user_guide/missing_data.rst b/doc/source/user_guide/missing_data.rst index a462f01dcd14f..7883814e91c94 100644 --- a/doc/source/user_guide/missing_data.rst +++ b/doc/source/user_guide/missing_data.rst @@ -335,7 +335,7 @@ examined :ref:`in the API `. Interpolation ~~~~~~~~~~~~~ -.. versionadded:: 0.21.0 +.. versionadded:: 0.23.0 The ``limit_area`` keyword argument was added.