6262 .. command-output:: python ./series/rolling/series_rolling_{method_name}.py
6363 :cwd: ../../../examples
6464
65+ .. literalinclude:: ../../../examples/dataframe/rolling/dataframe_rolling_{method_name}.py
66+ :language: python
67+ :lines: 27-
68+ :caption: {example_caption}
69+ :name: ex_dataframe_rolling_{method_name}
70+
71+ .. command-output:: python ./dataframe/rolling/dataframe_rolling_{method_name}.py
72+ :cwd: ../../../examples
73+
6574 .. seealso::
6675 :ref:`Series.rolling <pandas.Series.rolling>`
6776 Calling object with a Series.
@@ -1146,7 +1155,7 @@ def hpat_pandas_series_rolling_var(self, ddof=1):
11461155 Limitations
11471156 -----------
11481157 Supported ``raw`` only can be `None` or `True`. Parameters ``args``, ``kwargs`` unsupported.
1149- Series elements cannot be max/min float/integer. Otherwise SDC and Pandas results are different.
1158+ DataFrame/ Series elements cannot be max/min float/integer. Otherwise SDC and Pandas results are different.
11501159 """ ,
11511160 'extra_params' :
11521161 """
@@ -1165,13 +1174,13 @@ def hpat_pandas_series_rolling_var(self, ddof=1):
11651174 """
11661175 Limitations
11671176 -----------
1168- Series elements cannot be max/min float/integer. Otherwise SDC and Pandas results are different.
1169- Resulting Series has default index and name.
1177+ DataFrame/ Series elements cannot be max/min float/integer. Otherwise SDC and Pandas results are different.
1178+ Resulting DataFrame/ Series has default index and name.
11701179 """ ,
11711180 'extra_params' :
11721181 """
1173- other: :obj:`Series`
1174- Other Series.
1182+ other: :obj:`DataFrame` or :obj:` Series`
1183+ Other DataFrame/ Series.
11751184 pairwise: :obj:`bool`
11761185 Not relevant for Series.
11771186 """
@@ -1191,13 +1200,13 @@ def hpat_pandas_series_rolling_var(self, ddof=1):
11911200 """
11921201 Limitations
11931202 -----------
1194- Series elements cannot be max/min float/integer. Otherwise SDC and Pandas results are different.
1195- Resulting Series has default index and name.
1203+ DataFrame/ Series elements cannot be max/min float/integer. Otherwise SDC and Pandas results are different.
1204+ Resulting DataFrame/ Series has default index and name.
11961205 """ ,
11971206 'extra_params' :
11981207 """
1199- other: :obj:`Series`
1200- Other Series.
1208+ other: :obj:`DataFrame` or :obj:` Series`
1209+ Other DataFrame/ Series.
12011210 pairwise: :obj:`bool`
12021211 Not relevant for Series.
12031212 ddof: :obj:`int`
@@ -1226,7 +1235,7 @@ def hpat_pandas_series_rolling_var(self, ddof=1):
12261235 """
12271236 Limitations
12281237 -----------
1229- Series elements cannot be max/min float/integer. Otherwise SDC and Pandas results are different.
1238+ DataFrame/ Series elements cannot be max/min float/integer. Otherwise SDC and Pandas results are different.
12301239 """ ,
12311240 'extra_params' : ''
12321241})
@@ -1253,7 +1262,7 @@ def hpat_pandas_series_rolling_var(self, ddof=1):
12531262 Limitations
12541263 -----------
12551264 Supported ``interpolation`` only can be `'linear'`.
1256- Series elements cannot be max/min float/integer. Otherwise SDC and Pandas results are different.
1265+ DataFrame/ Series elements cannot be max/min float/integer. Otherwise SDC and Pandas results are different.
12571266 """ ,
12581267 'extra_params' :
12591268 """
@@ -1278,7 +1287,7 @@ def hpat_pandas_series_rolling_var(self, ddof=1):
12781287 """
12791288 Limitations
12801289 -----------
1281- Series elements cannot be max/min float/integer. Otherwise SDC and Pandas results are different.
1290+ DataFrame/ Series elements cannot be max/min float/integer. Otherwise SDC and Pandas results are different.
12821291 """ ,
12831292 'extra_params' :
12841293 """
@@ -1289,12 +1298,12 @@ def hpat_pandas_series_rolling_var(self, ddof=1):
12891298
12901299hpat_pandas_series_rolling_sum .__doc__ = hpat_pandas_series_rolling_docstring_tmpl .format (** {
12911300 'method_name' : 'sum' ,
1292- 'example_caption' : 'Calculate rolling sum of given Series. ' ,
1301+ 'example_caption' : 'Calculate rolling sum' ,
12931302 'limitations_block' :
12941303 """
12951304 Limitations
12961305 -----------
1297- Series elements cannot be max/min float/integer. Otherwise SDC and Pandas results are different.
1306+ DataFrame/ Series elements cannot be max/min float/integer. Otherwise SDC and Pandas results are different.
12981307 """ ,
12991308 'extra_params' : ''
13001309})
@@ -1306,7 +1315,7 @@ def hpat_pandas_series_rolling_var(self, ddof=1):
13061315 """
13071316 Limitations
13081317 -----------
1309- Series elements cannot be max/min float/integer. Otherwise SDC and Pandas results are different.
1318+ DataFrame/ Series elements cannot be max/min float/integer. Otherwise SDC and Pandas results are different.
13101319 """ ,
13111320 'extra_params' :
13121321 """
0 commit comments