Skip to content

Commit 99d7f6e

Browse files
committed
update Appender to doc in generic.py
1 parent ed3ddae commit 99d7f6e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pandas/core/generic.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1723,7 +1723,7 @@ def items(self):
17231723
for h in self._info_axis:
17241724
yield h, self[h]
17251725

1726-
@Appender(items.__doc__)
1726+
@doc(items)
17271727
def iteritems(self):
17281728
return self.items()
17291729

@@ -10222,7 +10222,7 @@ def _add_series_or_dataframe_operations(cls):
1022210222
"""
1022310223
from pandas.core.window import EWM, Expanding, Rolling, Window
1022410224

10225-
@Appender(Rolling.__doc__)
10225+
@doc(Rolling)
1022610226
def rolling(
1022710227
self,
1022810228
window,
@@ -10260,14 +10260,14 @@ def rolling(
1026010260

1026110261
cls.rolling = rolling
1026210262

10263-
@Appender(Expanding.__doc__)
10263+
@doc(Expanding)
1026410264
def expanding(self, min_periods=1, center=False, axis=0):
1026510265
axis = self._get_axis_number(axis)
1026610266
return Expanding(self, min_periods=min_periods, center=center, axis=axis)
1026710267

1026810268
cls.expanding = expanding
1026910269

10270-
@Appender(EWM.__doc__)
10270+
@doc(EWM)
1027110271
def ewm(
1027210272
self,
1027310273
com=None,

0 commit comments

Comments
 (0)