We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2536652 commit c5a5de1Copy full SHA for c5a5de1
pandas/tests/indexing/test_loc.py
@@ -65,7 +65,7 @@ def test_loc_dtype():
65
df = DataFrame([["a", 1.0, 2.0], ["b", 3.0, 4.0]])
66
result = df.loc[0, [1, 2]]
67
expected = df[[1, 2]].loc[0]
68
- tm.assert_frame_equal(result, expected)
+ tm.assert_series_equal(result, expected)
69
70
71
class TestLoc:
0 commit comments