@@ -322,7 +322,7 @@ class DataFrame(NDFrame):
322322 RangeIndex (0, 1, 2, ..., n) if no column labels are provided
323323 dtype : dtype, default None
324324 Data type to force. Only a single dtype is allowed. If None, infer
325- copy : boolean , default False
325+ copy : bool , default False
326326 Copy data from inputs. Only affects DataFrame / 2d ndarray input
327327
328328 See Also
@@ -1542,7 +1542,7 @@ def from_records(
15421542 Parameters
15431543 ----------
15441544 data : ndarray (structured dtype), list of tuples, dict, or DataFrame
1545- index : string , list of fields, array-like
1545+ index : str , list of fields, array-like
15461546 Field of array to use as the index, alternately a specific set of
15471547 input labels to use
15481548 exclude : sequence, default None
@@ -1553,7 +1553,7 @@ def from_records(
15531553 columns. Otherwise this argument indicates the order of the columns
15541554 in the result (any names not found in the data will become all-NA
15551555 columns)
1556- coerce_float : boolean , default False
1556+ coerce_float : bool , default False
15571557 Attempt to convert values of non-string, non-numeric objects (like
15581558 decimal.Decimal) to floating point, useful for SQL result sets
15591559 nrows : int, default None
@@ -3461,7 +3461,7 @@ def insert(self, loc, column, value, allow_duplicates=False):
34613461 ----------
34623462 loc : int
34633463 Insertion index. Must verify 0 <= loc <= len(columns)
3464- column : string , number, or hashable object
3464+ column : str , number, or hashable object
34653465 label of the inserted column
34663466 value : int, Series, or array-like
34673467 allow_duplicates : bool, optional
@@ -4775,7 +4775,7 @@ def drop_duplicates(self, subset=None, keep="first", inplace=False):
47754775 - ``first`` : Drop duplicates except for the first occurrence.
47764776 - ``last`` : Drop duplicates except for the last occurrence.
47774777 - False : Drop all duplicates.
4778- inplace : boolean , default False
4778+ inplace : bool , default False
47794779 Whether to drop duplicates in place or to return a copy
47804780
47814781 Returns
@@ -5197,7 +5197,7 @@ def swaplevel(self, i=-2, j=-1, axis=0):
51975197
51985198 Parameters
51995199 ----------
5200- i, j : int, string (can be mixed)
5200+ i, j : int, str (can be mixed)
52015201 Level of index to be swapped. Can pass level name as string.
52025202
52035203 Returns
@@ -5723,12 +5723,12 @@ def update(
57235723
57245724 Parameters
57255725 ----------%s
5726- index : string or object, optional
5726+ index : str or object, optional
57275727 Column to use to make new frame's index. If None, uses
57285728 existing index.
5729- columns : string or object
5729+ columns : str or object
57305730 Column to use to make new frame's columns.
5731- values : string , object or a list of the previous, optional
5731+ values : str , object or a list of the previous, optional
57325732 Column(s) to use for populating new frame's values. If not
57335733 specified, all remaining columns will be used and the result will
57345734 have hierarchically indexed columns.
@@ -5850,14 +5850,14 @@ def pivot(self, index=None, columns=None, values=None):
58505850 is function or list of functions
58515851 fill_value : scalar, default None
58525852 Value to replace missing values with
5853- margins : boolean , default False
5853+ margins : bool , default False
58545854 Add all row / columns (e.g. for subtotal / grand totals)
5855- dropna : boolean , default True
5855+ dropna : bool , default True
58565856 Do not include columns whose entries are all NaN
5857- margins_name : string , default 'All'
5857+ margins_name : str , default 'All'
58585858 Name of the row / column that will contain the totals
58595859 when margins is True.
5860- observed : boolean , default False
5860+ observed : bool , default False
58615861 This only applies if any of the groupers are Categoricals.
58625862 If True: only show observed values for categorical groupers.
58635863 If False: show all values for categorical groupers.
@@ -6231,7 +6231,7 @@ def unstack(self, level=-1, fill_value=None):
62316231
62326232 Parameters
62336233 ----------
6234- level : int, string , or list of these, default -1 (last level)
6234+ level : int, str , or list of these, default -1 (last level)
62356235 Level(s) of index to unstack, can pass level name
62366236 fill_value : replace NaN with this value if the unstack produces
62376237 missing values
@@ -6305,7 +6305,7 @@ def unstack(self, level=-1, fill_value=None):
63056305 ``frame.columns.name`` or 'variable'.
63066306 value_name : scalar, default 'value'
63076307 Name to use for the 'value' column.
6308- col_level : int or string , optional
6308+ col_level : int or str , optional
63096309 If columns are a MultiIndex then use this level to melt.
63106310
63116311 Returns
@@ -6894,11 +6894,11 @@ def append(self, other, ignore_index=False, verify_integrity=False, sort=None):
68946894 ----------
68956895 other : DataFrame or Series/dict-like object, or list of these
68966896 The data to append.
6897- ignore_index : boolean , default False
6897+ ignore_index : bool , default False
68986898 If True, do not use the index labels.
6899- verify_integrity : boolean , default False
6899+ verify_integrity : bool , default False
69006900 If True, raise ValueError on creating index with duplicates.
6901- sort : boolean , default None
6901+ sort : bool , default None
69026902 Sort columns if the columns of `self` and `other` are not aligned.
69036903 The default sorting is deprecated and will change to not-sorting
69046904 in a future version of pandas. Explicitly pass ``sort=True`` to
@@ -7940,7 +7940,7 @@ def idxmin(self, axis=0, skipna=True):
79407940 ----------
79417941 axis : {0 or 'index', 1 or 'columns'}, default 0
79427942 0 or 'index' for row-wise, 1 or 'columns' for column-wise
7943- skipna : boolean , default True
7943+ skipna : bool , default True
79447944 Exclude NA/null values. If an entire row/column is NA, the result
79457945 will be NA.
79467946
@@ -7977,7 +7977,7 @@ def idxmax(self, axis=0, skipna=True):
79777977 ----------
79787978 axis : {0 or 'index', 1 or 'columns'}, default 0
79797979 0 or 'index' for row-wise, 1 or 'columns' for column-wise
7980- skipna : boolean , default True
7980+ skipna : bool , default True
79817981 Exclude NA/null values. If an entire row/column is NA, the result
79827982 will be NA.
79837983
0 commit comments