@@ -105,13 +105,13 @@ def test_header_multi_index(self):
105
105
R_l0_g4,R_l1_g4,R4C0,R4C1,R4C2
106
106
"""
107
107
108
- df = self .read_csv (StringIO (data ), header = [0 , 1 , 2 , 3 ], index_col = [
109
- 0 , 1 ], tupleize_cols = False )
108
+ df = self .read_csv (StringIO (data ), header = [0 , 1 , 2 , 3 ],
109
+ index_col = [ 0 , 1 ])
110
110
tm .assert_frame_equal (df , expected )
111
111
112
112
# skipping lines in the header
113
- df = self .read_csv (StringIO (data ), header = [0 , 1 , 2 , 3 ], index_col = [
114
- 0 , 1 ], tupleize_cols = False )
113
+ df = self .read_csv (StringIO (data ), header = [0 , 1 , 2 , 3 ],
114
+ index_col = [ 0 , 1 ])
115
115
tm .assert_frame_equal (df , expected )
116
116
117
117
# INVALID OPTIONS
@@ -121,25 +121,22 @@ def test_header_multi_index(self):
121
121
FutureWarning , check_stacklevel = False ):
122
122
pytest .raises (ValueError , self .read_csv ,
123
123
StringIO (data ), header = [0 , 1 , 2 , 3 ],
124
- index_col = [0 , 1 ], as_recarray = True ,
125
- tupleize_cols = False )
124
+ index_col = [0 , 1 ], as_recarray = True )
126
125
127
126
# names
128
127
pytest .raises (ValueError , self .read_csv ,
129
128
StringIO (data ), header = [0 , 1 , 2 , 3 ],
130
- index_col = [0 , 1 ], names = ['foo' , 'bar' ],
131
- tupleize_cols = False )
129
+ index_col = [0 , 1 ], names = ['foo' , 'bar' ])
132
130
133
131
# usecols
134
132
pytest .raises (ValueError , self .read_csv ,
135
133
StringIO (data ), header = [0 , 1 , 2 , 3 ],
136
- index_col = [0 , 1 ], usecols = ['foo' , 'bar' ],
137
- tupleize_cols = False )
134
+ index_col = [0 , 1 ], usecols = ['foo' , 'bar' ])
138
135
139
136
# non-numeric index_col
140
137
pytest .raises (ValueError , self .read_csv ,
141
138
StringIO (data ), header = [0 , 1 , 2 , 3 ],
142
- index_col = ['foo' , 'bar' ], tupleize_cols = False )
139
+ index_col = ['foo' , 'bar' ])
143
140
144
141
def test_header_multiindex_common_format (self ):
145
142
0 commit comments