Skip to content

Commit b3b83b7

Browse files
committed
STY: fix unindentation issues
1 parent b9ec1fc commit b3b83b7

File tree

2 files changed

+35
-7
lines changed

2 files changed

+35
-7
lines changed
File renamed without changes.

pandas/core/window/rolling.py

Lines changed: 35 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2196,6 +2196,7 @@ def apply(
21962196
function.
21972197
* ``True`` : the passed function will receive ndarray
21982198
objects instead.
2199+
21992200
If you are just applying a NumPy reduction function this will
22002201
achieve much better performance.
22012202
@@ -2210,7 +2211,9 @@ def apply(
22102211
* For ``'cython'`` engine, there are no accepted ``engine_kwargs``
22112212
* For ``'numba'`` engine, the engine can accept ``nopython``, ``nogil``
22122213
and ``parallel`` dictionary keys. The values must either be ``True`` or
2213-
``False``. The default ``engine_kwargs`` for the ``'numba'`` engine is
2214+
``False``.
2215+
2216+
The default ``engine_kwargs`` for the ``'numba'`` engine is
22142217
``{'nopython': True, 'nogil': False, 'parallel': False}`` and will be
22152218
applied to both the ``func`` and the ``apply`` rolling aggregation.
22162219
@@ -2489,7 +2492,9 @@ def max(
24892492
* For ``'cython'`` engine, there are no accepted ``engine_kwargs``
24902493
* For ``'numba'`` engine, the engine can accept ``nopython``, ``nogil``
24912494
and ``parallel`` dictionary keys. The values must either be ``True`` or
2492-
``False``. The default ``engine_kwargs`` for the ``'numba'`` engine is
2495+
``False``.
2496+
2497+
The default ``engine_kwargs`` for the ``'numba'`` engine is
24932498
``{'nopython': True, 'nogil': False, 'parallel': False}``
24942499
24952500
.. versionadded:: 1.3.0
@@ -2559,7 +2564,9 @@ def min(
25592564
* For ``'cython'`` engine, there are no accepted ``engine_kwargs``
25602565
* For ``'numba'`` engine, the engine can accept ``nopython``, ``nogil``
25612566
and ``parallel`` dictionary keys. The values must either be ``True`` or
2562-
``False``. The default ``engine_kwargs`` for the ``'numba'`` engine is
2567+
``False``.
2568+
2569+
The default ``engine_kwargs`` for the ``'numba'`` engine is
25632570
``{'nopython': True, 'nogil': False, 'parallel': False}``
25642571
25652572
.. versionadded:: 1.3.0
@@ -2629,7 +2636,9 @@ def mean(
26292636
* For ``'cython'`` engine, there are no accepted ``engine_kwargs``
26302637
* For ``'numba'`` engine, the engine can accept ``nopython``, ``nogil``
26312638
and ``parallel`` dictionary keys. The values must either be ``True`` or
2632-
``False``. The default ``engine_kwargs`` for the ``'numba'`` engine is
2639+
``False``.
2640+
2641+
The default ``engine_kwargs`` for the ``'numba'`` engine is
26332642
``{'nopython': True, 'nogil': False, 'parallel': False}``
26342643
26352644
.. versionadded:: 1.3.0
@@ -2706,7 +2715,9 @@ def median(
27062715
* For ``'cython'`` engine, there are no accepted ``engine_kwargs``
27072716
* For ``'numba'`` engine, the engine can accept ``nopython``, ``nogil``
27082717
and ``parallel`` dictionary keys. The values must either be ``True`` or
2709-
``False``. The default ``engine_kwargs`` for the ``'numba'`` engine is
2718+
``False``.
2719+
2720+
The default ``engine_kwargs`` for the ``'numba'`` engine is
27102721
``{'nopython': True, 'nogil': False, 'parallel': False}``
27112722
27122723
.. versionadded:: 1.3.0
@@ -2763,6 +2774,7 @@ def std(
27632774
ddof : int, default 1
27642775
Delta Degrees of Freedom. The divisor used in calculations
27652776
is ``N - ddof``, where ``N`` represents the number of elements.
2777+
27662778
numeric_only : bool, default False
27672779
Include only float, int, boolean columns.
27682780
@@ -2780,7 +2792,9 @@ def std(
27802792
* For ``'cython'`` engine, there are no accepted ``engine_kwargs``
27812793
* For ``'numba'`` engine, the engine can accept ``nopython``, ``nogil``
27822794
and ``parallel`` dictionary keys. The values must either be ``True`` or
2783-
``False``. The default ``engine_kwargs`` for the ``'numba'`` engine is
2795+
``False``.
2796+
2797+
The default ``engine_kwargs`` for the ``'numba'`` engine is
27842798
``{'nopython': True, 'nogil': False, 'parallel': False}``
27852799
27862800
.. versionadded:: 1.4.0
@@ -2840,6 +2854,7 @@ def var(
28402854
ddof : int, default 1
28412855
Delta Degrees of Freedom. The divisor used in calculations
28422856
is ``N - ddof``, where ``N`` represents the number of elements.
2857+
28432858
numeric_only : bool, default False
28442859
Include only float, int, boolean columns.
28452860
@@ -2857,7 +2872,9 @@ def var(
28572872
* For ``'cython'`` engine, there are no accepted ``engine_kwargs``
28582873
* For ``'numba'`` engine, the engine can accept ``nopython``, ``nogil``
28592874
and ``parallel`` dictionary keys. The values must either be ``True`` or
2860-
``False``. The default ``engine_kwargs`` for the ``'numba'`` engine is
2875+
``False``.
2876+
2877+
The default ``engine_kwargs`` for the ``'numba'`` engine is
28612878
``{'nopython': True, 'nogil': False, 'parallel': False}``
28622879
28632880
.. versionadded:: 1.4.0
@@ -2954,6 +2971,7 @@ def sem(self, ddof: int = 1, numeric_only: bool = False):
29542971
ddof : int, default 1
29552972
Delta Degrees of Freedom. The divisor used in calculations
29562973
is ``N - ddof``, where ``N`` represents the number of elements.
2974+
29572975
numeric_only : bool, default False
29582976
Include only float, int, boolean columns.
29592977
@@ -3131,6 +3149,7 @@ def quantile(
31313149
31323150
.. deprecated:: 2.1.0
31333151
This was renamed from 'quantile' to 'q' in version 2.1.0.
3152+
31343153
interpolation : {'linear', 'lower', 'higher', 'midpoint', 'nearest'}
31353154
This optional parameter specifies the interpolation method to use,
31363155
when the desired quantile lies between two data points `i` and `j`:
@@ -3141,6 +3160,7 @@ def quantile(
31413160
* higher: `j`.
31423161
* nearest: `i` or `j` whichever is nearest.
31433162
* midpoint: (`i` + `j`) / 2.
3163+
31443164
numeric_only : bool, default False
31453165
Include only float, int, boolean columns.
31463166
@@ -3204,9 +3224,11 @@ def rank(
32043224
32053225
ascending : bool, default True
32063226
Whether or not the elements should be ranked in ascending order.
3227+
32073228
pct : bool, default False
32083229
Whether or not to display the returned rankings in percentile
32093230
form.
3231+
32103232
numeric_only : bool, default False
32113233
Include only float, int, boolean columns.
32123234
@@ -3322,16 +3344,19 @@ def cov(
33223344
other : Series or DataFrame, optional
33233345
If not supplied then will default to self and produce pairwise
33243346
output.
3347+
33253348
pairwise : bool, default None
33263349
If False then only matching columns between self and other will be
33273350
used and the output will be a DataFrame.
33283351
If True then all pairwise combinations will be calculated and the
33293352
output will be a MultiIndexed DataFrame in the case of DataFrame
33303353
inputs. In the case of missing elements, only complete pairwise
33313354
observations will be used.
3355+
33323356
ddof : int, default 1
33333357
Delta Degrees of Freedom. The divisor used in calculations
33343358
is ``N - ddof``, where ``N`` represents the number of elements.
3359+
33353360
numeric_only : bool, default False
33363361
Include only float, int, boolean columns.
33373362
@@ -3382,16 +3407,19 @@ def corr(
33823407
other : Series or DataFrame, optional
33833408
If not supplied then will default to self and produce pairwise
33843409
output.
3410+
33853411
pairwise : bool, default None
33863412
If False then only matching columns between self and other will be
33873413
used and the output will be a DataFrame.
33883414
If True then all pairwise combinations will be calculated and the
33893415
output will be a MultiIndexed DataFrame in the case of DataFrame
33903416
inputs. In the case of missing elements, only complete pairwise
33913417
observations will be used.
3418+
33923419
ddof : int, default 1
33933420
Delta Degrees of Freedom. The divisor used in calculations
33943421
is ``N - ddof``, where ``N`` represents the number of elements.
3422+
33953423
numeric_only : bool, default False
33963424
Include only float, int, boolean columns.
33973425

0 commit comments

Comments
 (0)