Skip to content

Commit 5cf7e99

Browse files
committed
replaced @Appender() with @doc()
1 parent 1f524c9 commit 5cf7e99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/resample.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
import pandas.core.algorithms as algos
1919
from pandas.core.base import DataError, ShallowMixin
20-
from pandas.core.generic import _shared_docs
20+
from pandas.core.generic import _shared_docs, NDFrame
2121
from pandas.core.groupby.base import GroupByMixin
2222
from pandas.core.groupby.generic import SeriesGroupBy
2323
from pandas.core.groupby.groupby import GroupBy, _GroupBy, _pipe_template, get_groupby
@@ -773,7 +773,7 @@ def fillna(self, method, limit=None):
773773
"""
774774
return self._upsample(method, limit=limit)
775775

776-
@Appender(_shared_docs["interpolate"] % _shared_docs_kwargs)
776+
@doc(NDFrame.interpolate, **_shared_docs_kwargs)
777777
def interpolate(
778778
self,
779779
method="linear",

0 commit comments

Comments
 (0)