diff --git a/pandas/core/arrays/interval.py b/pandas/core/arrays/interval.py index 1f4b76a259f00..6dd0b116b3b0d 100644 --- a/pandas/core/arrays/interval.py +++ b/pandas/core/arrays/interval.py @@ -259,7 +259,7 @@ def _from_factorized(cls, values, original): closed : {'left', 'right', 'both', 'neither'}, default 'right' Whether the intervals are closed on the left-side, right-side, both or neither. - copy : boolean, default False + copy : bool, default False copy the data dtype : dtype or None, default None If None, dtype will be inferred @@ -315,7 +315,7 @@ def from_breaks(cls, breaks, closed="right", copy=False, dtype=None): closed : {'left', 'right', 'both', 'neither'}, default 'right' Whether the intervals are closed on the left-side, right-side, both or neither. - copy : boolean, default False + copy : bool, default False Copy the data. dtype : dtype, optional If None, dtype will be inferred. @@ -387,7 +387,7 @@ def from_arrays(cls, left, right, closed="right", copy=False, dtype=None): closed : {'left', 'right', 'both', 'neither'}, default 'right' Whether the intervals are closed on the left-side, right-side, both or neither. - copy : boolean, default False + copy : bool, default False by-default copy the data, this is compat only and ignored dtype : dtype or None, default None If None, dtype will be inferred @@ -811,7 +811,7 @@ def value_counts(self, dropna=True): Parameters ---------- - dropna : boolean, default True + dropna : bool, default True Don't include counts of NaN. Returns