Skip to content

Commit 6c6e452

Browse files
committed
STY: fix slight indentation errors
1 parent a82220f commit 6c6e452

File tree

1 file changed

+27
-28
lines changed

1 file changed

+27
-28
lines changed

pandas/core/window/rolling.py

Lines changed: 27 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2193,24 +2193,24 @@ def apply(
21932193
21942194
raw : bool, default False
21952195
* ``False`` : passes each row or column as a Series to the
2196-
function.
2196+
function.
21972197
* ``True`` : the passed function will receive ndarray
2198-
objects instead.
2198+
objects instead.
21992199
22002200
If you are just applying a NumPy reduction function this will
22012201
achieve much better performance.
22022202
22032203
engine : str, default None
22042204
* ``'cython'`` : Runs rolling apply through C-extensions from cython.
22052205
* ``'numba'`` : Runs rolling apply through JIT compiled code from numba.
2206-
Only available when ``raw`` is set to ``True``.
2206+
Only available when ``raw`` is set to ``True``.
22072207
* ``None`` : Defaults to ``'cython'`` or
2208-
globally setting ``compute.use_numba``.
2208+
globally setting ``compute.use_numba``.
22092209
22102210
engine_kwargs : dict, default None
22112211
* For ``'cython'`` engine, there are no accepted ``engine_kwargs``
22122212
* For ``'numba'`` engine, the engine can accept ``nopython``, ``nogil``
2213-
and ``parallel`` dictionary keys. The values must either be ``True`` or
2213+
and ``parallel`` dictionary keys. The values must either be ``True`` or
22142214
``False``.
22152215
22162216
The default ``engine_kwargs`` for the ``'numba'`` engine is
@@ -2376,16 +2376,16 @@ def sum(
23762376
* ``'cython'`` : Runs the operation through C-extensions from cython.
23772377
* ``'numba'`` : Runs the operation through JIT compiled code from numba.
23782378
* ``None`` : Defaults to ``'cython'`` or
2379-
globally setting ``compute.use_numba``
2379+
globally setting ``compute.use_numba``
23802380
23812381
.. versionadded:: 1.3.0
23822382
23832383
engine_kwargs : dict, default None
23842384
* For ``'cython'`` engine, there are no accepted ``engine_kwargs``
23852385
* For ``'numba'`` engine, the engine can accept ``nopython``, ``nogil``
2386-
and ``parallel`` dictionary keys. The values must either be ``True`` or
2387-
``False``. The default ``engine_kwargs`` for the ``'numba'`` engine is
2388-
``{'nopython': True, 'nogil': False, 'parallel': False}``.
2386+
and ``parallel`` dictionary keys. The values must either be ``True`` or
2387+
``False``. The default ``engine_kwargs`` for the ``'numba'`` engine is
2388+
``{'nopython': True, 'nogil': False, 'parallel': False}``.
23892389
23902390
.. versionadded:: 1.3.0
23912391
@@ -2484,15 +2484,15 @@ def max(
24842484
* ``'cython'`` : Runs the operation through C-extensions from cython.
24852485
* ``'numba'`` : Runs the operation through JIT compiled code from numba.
24862486
* ``None`` : Defaults to ``'cython'`` or
2487-
globally setting ``compute.use_numba``
2487+
globally setting ``compute.use_numba``
24882488
24892489
.. versionadded:: 1.3.0
24902490
24912491
engine_kwargs : dict, default None
24922492
* For ``'cython'`` engine, there are no accepted ``engine_kwargs``
24932493
* For ``'numba'`` engine, the engine can accept ``nopython``, ``nogil``
2494-
and ``parallel`` dictionary keys. The values must either be ``True`` or
2495-
``False``.
2494+
and ``parallel`` dictionary keys. The values must either be ``True`` or
2495+
``False``.
24962496
24972497
The default ``engine_kwargs`` for the ``'numba'`` engine is
24982498
``{'nopython': True, 'nogil': False, 'parallel': False}``.
@@ -2556,15 +2556,15 @@ def min(
25562556
* ``'cython'`` : Runs the operation through C-extensions from cython.
25572557
* ``'numba'`` : Runs the operation through JIT compiled code from numba.
25582558
* ``None`` : Defaults to ``'cython'`` or
2559-
globally setting ``compute.use_numba``
2559+
globally setting ``compute.use_numba``
25602560
25612561
.. versionadded:: 1.3.0
25622562
25632563
engine_kwargs : dict, default None
25642564
* For ``'cython'`` engine, there are no accepted ``engine_kwargs``
25652565
* For ``'numba'`` engine, the engine can accept ``nopython``, ``nogil``
2566-
and ``parallel`` dictionary keys. The values must either be ``True`` or
2567-
``False``.
2566+
and ``parallel`` dictionary keys. The values must either be ``True`` or
2567+
``False``.
25682568
25692569
The default ``engine_kwargs`` for the ``'numba'`` engine is
25702570
``{'nopython': True, 'nogil': False, 'parallel': False}``.
@@ -2628,15 +2628,15 @@ def mean(
26282628
* ``'cython'`` : Runs the operation through C-extensions from cython.
26292629
* ``'numba'`` : Runs the operation through JIT compiled code from numba.
26302630
* ``None`` : Defaults to ``'cython'`` or
2631-
globally setting ``compute.use_numba``
2631+
globally setting ``compute.use_numba``
26322632
26332633
.. versionadded:: 1.3.0
26342634
26352635
engine_kwargs : dict, default None
26362636
* For ``'cython'`` engine, there are no accepted ``engine_kwargs``
26372637
* For ``'numba'`` engine, the engine can accept ``nopython``, ``nogil``
2638-
and ``parallel`` dictionary keys. The values must either be ``True`` or
2639-
``False``.
2638+
and ``parallel`` dictionary keys. The values must either be ``True`` or
2639+
``False``.
26402640
26412641
The default ``engine_kwargs`` for the ``'numba'`` engine is
26422642
``{'nopython': True, 'nogil': False, 'parallel': False}``.
@@ -2707,15 +2707,15 @@ def median(
27072707
* ``'cython'`` : Runs the operation through C-extensions from cython.
27082708
* ``'numba'`` : Runs the operation through JIT compiled code from numba.
27092709
* ``None`` : Defaults to ``'cython'`` or
2710-
globally setting ``compute.use_numba``
2710+
globally setting ``compute.use_numba``
27112711
27122712
.. versionadded:: 1.3.0
27132713
27142714
engine_kwargs : dict, default None
27152715
* For ``'cython'`` engine, there are no accepted ``engine_kwargs``
27162716
* For ``'numba'`` engine, the engine can accept ``nopython``, ``nogil``
2717-
and ``parallel`` dictionary keys. The values must either be ``True`` or
2718-
``False``.
2717+
and ``parallel`` dictionary keys. The values must either be ``True`` or
2718+
``False``.
27192719
27202720
The default ``engine_kwargs`` for the ``'numba'`` engine is
27212721
``{'nopython': True, 'nogil': False, 'parallel': False}``.
@@ -2784,15 +2784,15 @@ def std(
27842784
* ``'cython'`` : Runs the operation through C-extensions from cython.
27852785
* ``'numba'`` : Runs the operation through JIT compiled code from numba.
27862786
* ``None`` : Defaults to ``'cython'`` or
2787-
globally setting ``compute.use_numba``
2787+
globally setting ``compute.use_numba``
27882788
27892789
.. versionadded:: 1.4.0
27902790
27912791
engine_kwargs : dict, default None
27922792
* For ``'cython'`` engine, there are no accepted ``engine_kwargs``
27932793
* For ``'numba'`` engine, the engine can accept ``nopython``, ``nogil``
2794-
and ``parallel`` dictionary keys. The values must either be ``True`` or
2795-
``False``.
2794+
and ``parallel`` dictionary keys. The values must either be ``True`` or
2795+
``False``.
27962796
27972797
The default ``engine_kwargs`` for the ``'numba'`` engine is
27982798
``{'nopython': True, 'nogil': False, 'parallel': False}``.
@@ -2864,15 +2864,15 @@ def var(
28642864
* ``'cython'`` : Runs the operation through C-extensions from cython.
28652865
* ``'numba'`` : Runs the operation through JIT compiled code from numba.
28662866
* ``None`` : Defaults to ``'cython'`` or
2867-
globally setting ``compute.use_numba``
2867+
globally setting ``compute.use_numba``
28682868
28692869
.. versionadded:: 1.4.0
28702870
28712871
engine_kwargs : dict, default None
28722872
* For ``'cython'`` engine, there are no accepted ``engine_kwargs``
28732873
* For ``'numba'`` engine, the engine can accept ``nopython``, ``nogil``
2874-
and ``parallel`` dictionary keys. The values must either be ``True`` or
2875-
``False``.
2874+
and ``parallel`` dictionary keys. The values must either be ``True`` or
2875+
``False``.
28762876
28772877
The default ``engine_kwargs`` for the ``'numba'`` engine is
28782878
``{'nopython': True, 'nogil': False, 'parallel': False}``.
@@ -3527,7 +3527,6 @@ def corr(
35273527

35283528
Rolling.__doc__ = Window.__doc__
35293529

3530-
35313530
class RollingGroupby(BaseWindowGroupby, Rolling):
35323531
"""
35333532
Provide a rolling groupby implementation.

0 commit comments

Comments
 (0)