@@ -212,9 +212,9 @@ class providing the base-class of operations.
212
212
string indicating the keyword of `callable` that expects the
213
213
%(klass)s object.
214
214
args : iterable, optional
215
- positional arguments passed into `func`.
215
+ Positional arguments passed into `func`.
216
216
kwargs : dict, optional
217
- a dictionary of keyword arguments passed into `func`.
217
+ A dictionary of keyword arguments passed into `func`.
218
218
219
219
Returns
220
220
-------
@@ -664,11 +664,11 @@ def get_group(self, name, obj=None):
664
664
Parameters
665
665
----------
666
666
name : object
667
- the name of the group to get as a DataFrame
667
+ The name of the group to get as a DataFrame.
668
668
obj : DataFrame, default None
669
- the DataFrame to take the DataFrame out of. If
669
+ The DataFrame to take the DataFrame out of. If
670
670
it is None, the object groupby was called on will
671
- be used
671
+ be used.
672
672
673
673
Returns
674
674
-------
@@ -1114,7 +1114,7 @@ def any(self, skipna=True):
1114
1114
Parameters
1115
1115
----------
1116
1116
skipna : bool, default True
1117
- Flag to ignore nan values during truth testing
1117
+ Flag to ignore nan values during truth testing.
1118
1118
1119
1119
Returns
1120
1120
-------
@@ -1131,7 +1131,7 @@ def all(self, skipna=True):
1131
1131
Parameters
1132
1132
----------
1133
1133
skipna : bool, default True
1134
- Flag to ignore nan values during truth testing
1134
+ Flag to ignore nan values during truth testing.
1135
1135
1136
1136
Returns
1137
1137
-------
@@ -1252,7 +1252,7 @@ def std(self, ddof=1, *args, **kwargs):
1252
1252
Parameters
1253
1253
----------
1254
1254
ddof : int, default 1
1255
- degrees of freedom
1255
+ Degrees of freedom.
1256
1256
1257
1257
Returns
1258
1258
-------
@@ -1275,7 +1275,7 @@ def var(self, ddof=1, *args, **kwargs):
1275
1275
Parameters
1276
1276
----------
1277
1277
ddof : int, default 1
1278
- degrees of freedom
1278
+ Degrees of freedom.
1279
1279
1280
1280
Returns
1281
1281
-------
@@ -1310,7 +1310,7 @@ def sem(self, ddof=1):
1310
1310
Parameters
1311
1311
----------
1312
1312
ddof : int, default 1
1313
- degrees of freedom
1313
+ Degrees of freedom.
1314
1314
1315
1315
Returns
1316
1316
-------
@@ -1622,7 +1622,7 @@ def pad(self, limit=None):
1622
1622
Parameters
1623
1623
----------
1624
1624
limit : int, optional
1625
- limit of how many values to fill
1625
+ Limit of how many values to fill.
1626
1626
1627
1627
Returns
1628
1628
-------
@@ -1648,7 +1648,7 @@ def backfill(self, limit=None):
1648
1648
Parameters
1649
1649
----------
1650
1650
limit : int, optional
1651
- limit of how many values to fill
1651
+ Limit of how many values to fill.
1652
1652
1653
1653
Returns
1654
1654
-------
@@ -1680,10 +1680,10 @@ def nth(self, n: Union[int, List[int]], dropna: Optional[str] = None) -> DataFra
1680
1680
Parameters
1681
1681
----------
1682
1682
n : int or list of ints
1683
- a single nth value for the row or a list of nth values
1683
+ A single nth value for the row or a list of nth values.
1684
1684
dropna : None or str, optional
1685
- apply the specified dropna operation before counting which row is
1686
- the nth row. Needs to be None, 'any' or 'all'
1685
+ Apply the specified dropna operation before counting which row is
1686
+ the nth row. Needs to be None, 'any' or 'all'.
1687
1687
1688
1688
Returns
1689
1689
-------
@@ -2098,13 +2098,13 @@ def rank(
2098
2098
* first: ranks assigned in order they appear in the array
2099
2099
* dense: like 'min', but rank always increases by 1 between groups
2100
2100
ascending : bool, default True
2101
- False for ranks by high (1) to low (N)
2101
+ False for ranks by high (1) to low (N).
2102
2102
na_option : {'keep', 'top', 'bottom'}, default 'keep'
2103
2103
* keep: leave NA values where they are
2104
2104
* top: smallest rank if ascending
2105
2105
* bottom: smallest rank if descending
2106
2106
pct : bool, default False
2107
- Compute percentage rank of data within each group
2107
+ Compute percentage rank of data within each group.
2108
2108
axis : int, default 0
2109
2109
The axis of the object over which to compute the rank.
2110
2110
@@ -2312,7 +2312,7 @@ def shift(self, periods=1, freq=None, axis=0, fill_value=None):
2312
2312
Parameters
2313
2313
----------
2314
2314
periods : int, default 1
2315
- number of periods to shift
2315
+ Number of periods to shift.
2316
2316
freq : frequency string
2317
2317
axis : axis to shift, default 0
2318
2318
fill_value : optional
0 commit comments