I got ValueError: Columns index has to be unique for fixed format
when I tried to save a dataframe which I formed by combining multiple time series dataframe. This is the sample of what I have done
df1=pd.concat([d1,d2,d3,d4],axis=1]
df2=pd.DataFrame(d5)
df3=pd.concat([d6,d7,d8],axis=1]
main_df=pd.concat([df1,df2,df3],axis=1)
main_df=main_df.dropna()
main_df.head()
till here it works fine but when I tried to save those data into a HDF5 file its giving me this error Columns index has to be unique for fixed format
fi=pd.read_hdf("data.h5")
fi['df']=main_df #this line cause the error