Skip to content

Commit 8f9c917

Browse files
committed
adjust for comments
1 parent b59e640 commit 8f9c917

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

pandas/core/base.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1338,8 +1338,8 @@ def factorize(self, sort=False, na_sentinel=-1):
13381338
13391339
Parameters
13401340
----------
1341-
value : scalar or array_like
1342-
Value(s) to insert into `self`.t
1341+
value : array_like
1342+
Values to insert into `self`.
13431343
side : {'left', 'right'}, optional
13441344
If 'left', the index of the first suitable location found is given.
13451345
If 'right', return the last such index. If there is no suitable
@@ -1350,7 +1350,7 @@ def factorize(self, sort=False, na_sentinel=-1):
13501350
13511351
Returns
13521352
-------
1353-
int or array of ints
1353+
int or array of int
13541354
A scalar or array of insertion points with the
13551355
same shape as `value`.
13561356

pandas/core/indexes/base.py

+1
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,7 @@ def _get_attributes_dict(self):
551551
"""
552552

553553
@Appender(_index_shared_docs['_shallow_copy'])
554+
def _shallow_copy(self, values=None, **kwargs):
554555
def _shallow_copy(self, values=None, **kwargs):
555556
if values is None:
556557
values = self.values

0 commit comments

Comments
 (0)