Skip to content

Commit e1a1aae

Browse files
committed
Fixed PRO9 doctring issues in pandas.core.groupby
1 parent 1e1658f commit e1a1aae

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

pandas/core/groupby/groupby.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1133,7 +1133,7 @@ def all(self, skipna=True):
11331133
Parameters
11341134
----------
11351135
skipna : bool, default True
1136-
Flag to ignore nan values during truth testing
1136+
Flag to ignore nan values during truth testing.
11371137
11381138
Returns
11391139
-------
@@ -1254,7 +1254,7 @@ def std(self, ddof=1, *args, **kwargs):
12541254
Parameters
12551255
----------
12561256
ddof : int, default 1
1257-
Degrees of freedom
1257+
Degrees of freedom.
12581258
12591259
Returns
12601260
-------
@@ -1277,7 +1277,7 @@ def var(self, ddof=1, *args, **kwargs):
12771277
Parameters
12781278
----------
12791279
ddof : int, default 1
1280-
Degrees of freedom
1280+
Degrees of freedom.
12811281
12821282
Returns
12831283
-------
@@ -1312,7 +1312,7 @@ def sem(self, ddof=1):
13121312
Parameters
13131313
----------
13141314
ddof : int, default 1
1315-
Degrees of freedom
1315+
Degrees of freedom.
13161316
13171317
Returns
13181318
-------
@@ -1624,7 +1624,7 @@ def pad(self, limit=None):
16241624
Parameters
16251625
----------
16261626
limit : int, optional
1627-
Limit of how many values to fill
1627+
Limit of how many values to fill.
16281628
16291629
Returns
16301630
-------
@@ -1650,7 +1650,7 @@ def backfill(self, limit=None):
16501650
Parameters
16511651
----------
16521652
limit : int, optional
1653-
Limit of how many values to fill
1653+
Limit of how many values to fill.
16541654
16551655
Returns
16561656
-------
@@ -1682,10 +1682,10 @@ def nth(self, n: Union[int, List[int]], dropna: Optional[str] = None) -> DataFra
16821682
Parameters
16831683
----------
16841684
n : int or list of ints
1685-
A single nth value for the row or a list of nth values
1685+
A single nth value for the row or a list of nth values.
16861686
dropna : None or str, optional
16871687
Apply the specified dropna operation before counting which row is
1688-
the nth row. Needs to be None, 'any' or 'all'
1688+
the nth row. Needs to be None, 'any' or 'all'.
16891689
16901690
Returns
16911691
-------
@@ -2100,13 +2100,13 @@ def rank(
21002100
* first: ranks assigned in order they appear in the array
21012101
* dense: like 'min', but rank always increases by 1 between groups
21022102
ascending : bool, default True
2103-
False for ranks by high (1) to low (N)
2103+
False for ranks by high (1) to low (N).
21042104
na_option : {'keep', 'top', 'bottom'}, default 'keep'
21052105
* keep: leave NA values where they are
21062106
* top: smallest rank if ascending
21072107
* bottom: smallest rank if descending
21082108
pct : bool, default False
2109-
Compute percentage rank of data within each group
2109+
Compute percentage rank of data within each group.
21102110
axis : int, default 0
21112111
The axis of the object over which to compute the rank.
21122112
@@ -2314,7 +2314,7 @@ def shift(self, periods=1, freq=None, axis=0, fill_value=None):
23142314
Parameters
23152315
----------
23162316
periods : int, default 1
2317-
Number of periods to shift
2317+
Number of periods to shift.
23182318
freq : frequency string
23192319
axis : axis to shift, default 0
23202320
fill_value : optional

0 commit comments

Comments
 (0)