Skip to content

Commit 77c07c2

Browse files
authored
Update base.py
1 parent c470785 commit 77c07c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/base.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1181,14 +1181,14 @@ def factorize(self, sort: bool = False, na_sentinel: Optional[int] = -1):
11811181
11821182
>>> ser.searchsorted([1, 3], side='right')
11831183
array([1, 3])
1184-
1184+
11851185
>>> ser = pd.Series(pd.to_datetime(['21.10.2020', '22.10.2020', '23.10.2020']))
11861186
>>> ser
11871187
0 2020-10-21
11881188
1 2020-10-22
11891189
2 2020-10-23
11901190
dtype: datetime64[ns]
1191-
1191+
11921192
>>> ser.searchsorted('3/14/2000')
11931193
3
11941194

0 commit comments

Comments
 (0)