File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2388,7 +2388,7 @@ def test_isin_int_df_string_search(self):
23882388 def test_isin_nan_df_string_search (self ):
23892389 """Comparing df with nan value (np.nan,2) with a string at isin() ("NaN")
23902390 -> should not match values because np.nan is not equal str NaN """
2391- df = DataFrame ({"values" : [np .nan , 2 ]})
2391+ df = pd . DataFrame ({"values" : [np .nan , 2 ]})
23922392 result = df .isin (["NaN" ])
23932393 expected_false = pd .DataFrame ({"values" : [False , False ]})
23942394 tm .assert_frame_equal (result , expected_false )
@@ -2397,7 +2397,7 @@ def test_isin_nan_df_string_search(self):
23972397 def test_isin_float_df_string_search (self ):
23982398 """Comparing df with floats (1.4245,2.32441) with a string at isin() ("1.4245")
23992399 -> should not match values because float 1.4245 is not equal str 1.4245"""
2400- df = DataFrame ({"values" : [1.4245 , 2.32441 ]})
2400+ df = pd . DataFrame ({"values" : [1.4245 , 2.32441 ]})
24012401 result = df .isin (["1.4245" ])
24022402 expected_false = pd .DataFrame ({"values" : [False , False ]})
24032403 tm .assert_frame_equal (result , expected_false )
You can’t perform that action at this time.
0 commit comments