Im Trying to import multiple workbooks to python to compile them all together.
I have every part of the code working, but when I view the new data frame, there is required data in the index column which means that when I export it again to excel it doesn't appear. Here is the code so far
all_needed = pd.DataFrame()
blankk = [range(len(df))]
blank = []
for i in glob.glob(path + "/*.xls"):
df=pd.read_excel(i,index_col = None)
df.insert(0,"blank",5)
df.reindex(index = "blank")
How do I remove this data from the index column and place it as part of the data set ?
Many thanks for the help