Skip to content

Commit cd13e57

Browse files
authored
update docs for isin
1 parent 7d36f0f commit cd13e57

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/core/series.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4631,8 +4631,7 @@ def isin(self, values) -> "Series":
46314631
5 False
46324632
Name: animal, dtype: bool
46334633
4634-
.. versionchanged:: 1.2.0
4635-
Strings and integers are now treated as distinct. This new behaviour caused some tests to fail because users where unaware of this change.
4634+
Strings and integers are distinct and are therefore not comparable:
46364635
46374636
>>>import pandas as pd
46384637
pd.Series([1]).isin(['1'])

0 commit comments

Comments
 (0)