@@ -260,26 +260,26 @@ def apply(
260260
261261 raw : bool, default False
262262 * ``False`` : passes each row or column as a Series to the
263- function.
264- * ``True`` : the passed function will receive ndarray
265- objects instead.
263+ function.
264+ * ``True`` : the passed function will receive ndarray objects instead.
265+
266266 If you are just applying a NumPy reduction function this will
267267 achieve much better performance.
268268
269269 engine : str, default None
270270 * ``'cython'`` : Runs rolling apply through C-extensions from cython.
271271 * ``'numba'`` : Runs rolling apply through JIT compiled code from numba.
272- Only available when ``raw`` is set to ``True``.
272+ Only available when ``raw`` is set to ``True``.
273273 * ``None`` : Defaults to ``'cython'`` or globally setting
274- ``compute.use_numba``
274+ ``compute.use_numba``
275275
276276 engine_kwargs : dict, default None
277277 * For ``'cython'`` engine, there are no accepted ``engine_kwargs``
278278 * For ``'numba'`` engine, the engine can accept ``nopython``, ``nogil``
279- and ``parallel`` dictionary keys. The values must either be ``True`` or
280- ``False``. The default ``engine_kwargs`` for the ``'numba'`` engine is
281- ``{'nopython': True, 'nogil': False, 'parallel': False}`` and will be
282- applied to both the ``func`` and the ``apply`` rolling aggregation.
279+ and ``parallel`` dictionary keys. The values must either be ``True`` or
280+ ``False``. The default ``engine_kwargs`` for the ``'numba'`` engine is
281+ ``{'nopython': True, 'nogil': False, 'parallel': False}`` and will be
282+ applied to both the ``func`` and the ``apply`` rolling aggregation.
283283
284284 args : tuple, default None
285285 Positional arguments to be passed into func.
@@ -354,8 +354,7 @@ def pipe(
354354 >>> g = lambda x, arg1: x * 5 / arg1
355355 >>> f = lambda x: x**4
356356 >>> df = pd.DataFrame(
357- ... {"A": [1, 2, 3, 4]},
358- index=pd.date_range("2012-08-02", periods=4)
357+ ... {"A": [1, 2, 3, 4]}, index=pd.date_range("2012-08-02", periods=4)
359358 ... )
360359 >>> h(g(f(df.rolling("2D")), arg1=1), arg2=2, arg3=3) # doctest: +SKIP
361360
@@ -448,9 +447,9 @@ def sum(
448447 engine_kwargs : dict, default None
449448 * For ``'cython'`` engine, there are no accepted ``engine_kwargs``
450449 * For ``'numba'`` engine, the engine can accept ``nopython``, ``nogil``
451- and ``parallel`` dictionary keys. The values must either be ``True`` or
452- ``False``. The default ``engine_kwargs`` for the ``'numba'`` engine is
453- ``{'nopython': True, 'nogil': False, 'parallel': False}``
450+ and ``parallel`` dictionary keys. The values must either be ``True`` or
451+ ``False``. The default ``engine_kwargs`` for the ``'numba'`` engine is
452+ ``{'nopython': True, 'nogil': False, 'parallel': False}``
454453
455454 .. versionadded:: 1.3.0
456455
@@ -514,9 +513,9 @@ def max(
514513 engine_kwargs : dict, default None
515514 * For ``'cython'`` engine, there are no accepted ``engine_kwargs``
516515 * For ``'numba'`` engine, the engine can accept ``nopython``, ``nogil``
517- and ``parallel`` dictionary keys. The values must either be ``True`` or
518- ``False``. The default ``engine_kwargs`` for the ``'numba'`` engine is
519- ``{'nopython': True, 'nogil': False, 'parallel': False}``
516+ and ``parallel`` dictionary keys. The values must either be ``True`` or
517+ ``False``. The default ``engine_kwargs`` for the ``'numba'`` engine is
518+ ``{'nopython': True, 'nogil': False, 'parallel': False}``
520519
521520 .. versionadded:: 1.3.0
522521
@@ -580,9 +579,9 @@ def min(
580579 engine_kwargs : dict, default None
581580 * For ``'cython'`` engine, there are no accepted ``engine_kwargs``
582581 * For ``'numba'`` engine, the engine can accept ``nopython``, ``nogil``
583- and ``parallel`` dictionary keys. The values must either be ``True`` or
584- ``False``. The default ``engine_kwargs`` for the ``'numba'`` engine is
585- ``{'nopython': True, 'nogil': False, 'parallel': False}``
582+ and ``parallel`` dictionary keys. The values must either be ``True`` or
583+ ``False``. The default ``engine_kwargs`` for the ``'numba'`` engine is
584+ ``{'nopython': True, 'nogil': False, 'parallel': False}``
586585
587586 .. versionadded:: 1.3.0
588587
@@ -646,9 +645,9 @@ def mean(
646645 engine_kwargs : dict, default None
647646 * For ``'cython'`` engine, there are no accepted ``engine_kwargs``
648647 * For ``'numba'`` engine, the engine can accept ``nopython``, ``nogil``
649- and ``parallel`` dictionary keys. The values must either be ``True`` or
650- ``False``. The default ``engine_kwargs`` for the ``'numba'`` engine is
651- ``{'nopython': True, 'nogil': False, 'parallel': False}``
648+ and ``parallel`` dictionary keys. The values must either be ``True`` or
649+ ``False``. The default ``engine_kwargs`` for the ``'numba'`` engine is
650+ ``{'nopython': True, 'nogil': False, 'parallel': False}``
652651
653652 .. versionadded:: 1.3.0
654653
@@ -712,9 +711,9 @@ def median(
712711 engine_kwargs : dict, default None
713712 * For ``'cython'`` engine, there are no accepted ``engine_kwargs``
714713 * For ``'numba'`` engine, the engine can accept ``nopython``, ``nogil``
715- and ``parallel`` dictionary keys. The values must either be ``True`` or
716- ``False``. The default ``engine_kwargs`` for the ``'numba'`` engine is
717- ``{'nopython': True, 'nogil': False, 'parallel': False}``
714+ and ``parallel`` dictionary keys. The values must either be ``True`` or
715+ ``False``. The default ``engine_kwargs`` for the ``'numba'`` engine is
716+ ``{'nopython': True, 'nogil': False, 'parallel': False}``
718717
719718 .. versionadded:: 1.3.0
720719
@@ -783,9 +782,9 @@ def std(
783782 engine_kwargs : dict, default None
784783 * For ``'cython'`` engine, there are no accepted ``engine_kwargs``
785784 * For ``'numba'`` engine, the engine can accept ``nopython``, ``nogil``
786- and ``parallel`` dictionary keys. The values must either be ``True`` or
787- ``False``. The default ``engine_kwargs`` for the ``'numba'`` engine is
788- ``{'nopython': True, 'nogil': False, 'parallel': False}``
785+ and ``parallel`` dictionary keys. The values must either be ``True`` or
786+ ``False``. The default ``engine_kwargs`` for the ``'numba'`` engine is
787+ ``{'nopython': True, 'nogil': False, 'parallel': False}``
789788
790789 .. versionadded:: 1.4.0
791790
@@ -862,9 +861,9 @@ def var(
862861 engine_kwargs : dict, default None
863862 * For ``'cython'`` engine, there are no accepted ``engine_kwargs``
864863 * For ``'numba'`` engine, the engine can accept ``nopython``, ``nogil``
865- and ``parallel`` dictionary keys. The values must either be ``True`` or
866- ``False``. The default ``engine_kwargs`` for the ``'numba'`` engine is
867- ``{'nopython': True, 'nogil': False, 'parallel': False}``
864+ and ``parallel`` dictionary keys. The values must either be ``True`` or
865+ ``False``. The default ``engine_kwargs`` for the ``'numba'`` engine is
866+ ``{'nopython': True, 'nogil': False, 'parallel': False}``
868867
869868 .. versionadded:: 1.4.0
870869
0 commit comments