Posts by Erick Santos • 1 point
1 post
-
0
votes1
answer79
viewsQ: By loading my xlsx file into pandas, the rows have become column indexes. How to set a new input for columns?
I would like to know how to set new index for columns. data = pd.read_excel('numero_automoveis_vendidos.xlsx') data.columns Index([7, 5, 9, 11, 10, 8, '9.1', 6, '8.1', '10.1'], dtype='object')…