Skip to content

Commit e0ec44a

Browse files
committed
adding a line that i forgot
1 parent 9c61352 commit e0ec44a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/tests/frame/methods/test_isin.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -189,15 +189,15 @@ def test_isin_empty_datetimelike(self):
189189
tm.assert_frame_equal(result, expected)
190190
result = df1_td.isin(df3)
191191
tm.assert_frame_equal(result, expected)
192-
192+
193193
def test_isin_int_df_string_search(self):
194-
#Comparing df with int`s with a string at isin() -> should not match values
194+
#Comparing df with int`s (1,2) with a string at isin() ("1") -> should not match values because int 1 is not equal str 1
195195
df = pd.DataFrame({"values": [1,2]})
196196
result = df.isin(["1"])
197197
expected_false = pd.DataFrame({"values": [False, False]})
198198
tm.assert_frame_equal(result, expected_false)
199199

200-
#Comparing df with int`s with a int at isin() -> should find the value
200+
#Comparing df with int`s with a int at isin() -> should be fine
201201
result = df.isin([1])
202202
expected_true = pd.DataFrame({"values": [True, False]})
203203
tm.assert_frame_equal(result, expected_true)

0 commit comments

Comments
 (0)