Quantcast
Channel: Active questions tagged excel - Stack Overflow
Viewing all articles
Browse latest Browse all 88066

pandas read_excel that creates index even when index_col=none

$
0
0

I'm trying to read an excel file into a data frame and I want set the index later, so I don't want pandas to use column 0 for the index values.

By default (index_col=None), it shouldn't use column 0 of my data for the index.

How can i solve this please?

data = pd.read_excel(r'Indicators.xls', Header = True, index_col=None)

Input file excel

The output that im getting Output dataframe


Viewing all articles
Browse latest Browse all 88066

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>