Writing a pandas dataframe to hdf creates an index even though I specified index=False. Why?
I have a dataframe in pandas I need to write to hdf using the df.to_hdf call. I have ensured that I don’t have a column named ‘Index’ and I have put index=False in the call, but the index column appears in the output hdf file anyway. What am I missing? (I am using pandas version 1.5.1 and Python 3.9.12).