Skip to content

Commit eb9fca9

Browse files
LauraCollardNico Cernek
authored and
Nico Cernek
committed
DOC: Fixed PR06 docstrings errors in pandas.arrays.IntervalArray (pandas-dev#28721)
1 parent 8c43a5d commit eb9fca9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pandas/core/arrays/interval.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ def _from_factorized(cls, values, original):
259259
closed : {'left', 'right', 'both', 'neither'}, default 'right'
260260
Whether the intervals are closed on the left-side, right-side, both
261261
or neither.
262-
copy : boolean, default False
262+
copy : bool, default False
263263
copy the data
264264
dtype : dtype or None, default None
265265
If None, dtype will be inferred
@@ -315,7 +315,7 @@ def from_breaks(cls, breaks, closed="right", copy=False, dtype=None):
315315
closed : {'left', 'right', 'both', 'neither'}, default 'right'
316316
Whether the intervals are closed on the left-side, right-side, both
317317
or neither.
318-
copy : boolean, default False
318+
copy : bool, default False
319319
Copy the data.
320320
dtype : dtype, optional
321321
If None, dtype will be inferred.
@@ -387,7 +387,7 @@ def from_arrays(cls, left, right, closed="right", copy=False, dtype=None):
387387
closed : {'left', 'right', 'both', 'neither'}, default 'right'
388388
Whether the intervals are closed on the left-side, right-side, both
389389
or neither.
390-
copy : boolean, default False
390+
copy : bool, default False
391391
by-default copy the data, this is compat only and ignored
392392
dtype : dtype or None, default None
393393
If None, dtype will be inferred
@@ -811,7 +811,7 @@ def value_counts(self, dropna=True):
811811
812812
Parameters
813813
----------
814-
dropna : boolean, default True
814+
dropna : bool, default True
815815
Don't include counts of NaN.
816816
817817
Returns

0 commit comments

Comments
 (0)