Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix test
  • Loading branch information
jbrockmendel committed Jan 3, 2022
commit e33ae723a1be8796692b9947d3358465c598f5fc
2 changes: 1 addition & 1 deletion pandas/tests/indexing/test_loc.py
Original file line number Diff line number Diff line change
Expand Up @@ -2725,7 +2725,7 @@ def test_loc_getitem_nullable_index_with_duplicates():
assert df2.index.dtype == "Int64"

res = df2.loc[1]
expected = Series([1, 5], index=df2.columns, dtype="Int64")
expected = Series([1, 5], index=df2.columns, dtype="Int64", name=1)
tm.assert_series_equal(res, expected)

# pd.NA and duplicates in an object-dtype Index
Expand Down