Skip to content

Commit 3b08100

Browse files
author
Sumanau Sareen
committed
Fix test as empty df should return an empty index.
1 parent e773acd commit 3b08100

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/indexing/test_partial.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ def test_partial_set_empty_frame(self):
451451
# these work as they don't really change
452452
# anything but the index
453453
# GH5632
454-
expected = DataFrame(columns=['foo'], index=Index([], dtype='int64'))
454+
expected = DataFrame(columns=['foo'], index=Index([]))
455455

456456
def f():
457457
df = DataFrame()

0 commit comments

Comments
 (0)