Skip to content

Commit c7ad224

Browse files
committed
replaced @Appender() with @doc()
1 parent 8f3a61e commit c7ad224

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
@@ -775,7 +775,7 @@ def fillna(self, method, limit=None):
775775
"""
776776
return self._upsample(method, limit=limit)
777777

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

0 commit comments

Comments
 (0)