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 @@ -55,7 +55,7 @@ def test_row_to_names_delete_above_with_resetting_index(dataframe):
55
55
"""Test that executes row_to_names while deleting the all rows
56
56
above the given row index while resetting the index"""
57
57
df = dataframe .row_to_names (2 , remove_rows_above = True , reset_index = True )
58
- expected_index = pd .RangeIndex (start = 0 , stop = 8 , step = 1 )
58
+ expected_index = pd .RangeIndex (start = 0 , stop = 7 , step = 1 )
59
59
pd .testing .assert_index_equal (df .index , expected_index )
60
60
61
61
@@ -64,5 +64,5 @@ def test_row_to_names_delete_the_row_with_resetting_index(dataframe):
64
64
"""Test that executes row_to_names while deleting the given row
65
65
index while resetting the index"""
66
66
df = dataframe .row_to_names (2 , remove_row = True , reset_index = True )
67
- expected_index = pd .RangeIndex (start = 0 , stop = 7 , step = 1 )
67
+ expected_index = pd .RangeIndex (start = 0 , stop = 8 , step = 1 )
68
68
pd .testing .assert_index_equal (df .index , expected_index )
You can’t perform that action at this time.
0 commit comments