Skip to content

Commit

Permalink
DOC: Fixed PR06 docstrings errors in pandas.arrays.IntervalArray (pan…
Browse files Browse the repository at this point in the history
  • Loading branch information
LauraCollard authored and proost committed Dec 19, 2019
1 parent c9260fa commit 27ed67e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pandas/core/arrays/interval.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 27ed67e

Please sign in to comment.