Skip to content

Commit 6ff636e

Browse files
committed
fixed for PEP8
1 parent f4cd90f commit 6ff636e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/core/base.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1165,7 +1165,8 @@ def factorize(self, sort=False, na_sentinel=-1):
11651165
>>> x.searchsorted([1, 3], side='right')
11661166
array([1, 3], dtype=int64)
11671167
1168-
>>> x = pd.Categorical(['apple', 'bread', 'bread', 'cheese', 'milk'], ordered=True)
1168+
>>> x = pd.Categorical(['apple', 'bread', 'bread',
1169+
'cheese', 'milk'], ordered=True)
11691170
[apple, bread, bread, cheese, milk]
11701171
Categories (4, object): [apple < bread < cheese < milk]
11711172

0 commit comments

Comments
 (0)