Apr-05-2022, 07:03 AM
Hello all,
I have a data frame that I pull from excel using: df = pd.read_excel(file.xlsx)
when I print results it returns with the index column on the left (0,1,2,3,4,...)
no matter what I tried, including df.reset_index(drop=True), does not remove the index column on print(df)
can someone please share what can be done to exclude the index column?
your help is highly appreciated!
I have a data frame that I pull from excel using: df = pd.read_excel(file.xlsx)
when I print results it returns with the index column on the left (0,1,2,3,4,...)
no matter what I tried, including df.reset_index(drop=True), does not remove the index column on print(df)
can someone please share what can be done to exclude the index column?
your help is highly appreciated!
