@classmethod<EOL><INDENT>def _add_series_or_dataframe_operations(cls):<DEDENT>
from pandas.core import window as rwindow<EOL>@Appender(rwindow.rolling.__doc__)<EOL>def rolling(self, window, min_periods=None, center=False,<EOL>win_type=None, on=None, axis=<NUM_LIT:0>, closed=None):<EOL><INDENT>axis = self._get_axis_number(axis)<EOL>return rwindow.rolling(self, window=window,<EOL>min_periods=min_periods,<EOL>center=center, win_type=win_type,<EOL>on=on, axis=axis, closed=closed)<EOL><DEDENT>cls.rolling = rolling<EOL>@Appender(rwindow.expanding.__doc__)<EOL>def expanding(self, min_periods=<NUM_LIT:1>, center=False, axis=<NUM_LIT:0>):<EOL><INDENT>axis = self._get_axis_number(axis)<EOL>return rwindow.expanding(self, min_periods=min_periods,<EOL>center=center, axis=axis)<EOL><DEDENT>cls.expanding = expanding<EOL>@Appender(rwindow.ewm.__doc__)<EOL>def ewm(self, com=None, span=None, halflife=None, alpha=None,<EOL>min_periods=<NUM_LIT:0>, adjust=True, ignore_na=False,<EOL>axis=<NUM_LIT:0>):<EOL><INDENT>axis = self._get_axis_number(axis)<EOL>return rwindow.ewm(self, com=com, span=span, halflife=halflife,<EOL>alpha=alpha, min_periods=min_periods,<EOL>adjust=adjust, ignore_na=ignore_na, axis=axis)<EOL><DEDENT>cls.ewm = ewm<EOL>
Add the series or dataframe only operations to the cls; evaluate
the doc strings again.