Skip to content

Commit b5692e0

Browse files
committed
changing pandas.dataframe methods from boolean to bool
1 parent 16ce276 commit b5692e0

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

pandas/core/frame.py

+11-11
Original file line numberDiff line numberDiff line change
@@ -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
@@ -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
@@ -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
@@ -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
58575857
margins_name : string, 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.
@@ -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

Comments
 (0)