0

I have a very big multiindex Pandas dataframe made by objects in each column (about 81900 rows × 24 columns) and I need to save it as an hdf but when I do:

df.to_hdf(path2filename,mode='a',key='main')

it fails telling me:

OverflowError: value too large to convert to int

What is the best way to save such a huge dataframe. I'd like the hdf because this dataframe is part of a group of dataframe that I would like to keep grouped together, but if there are no solutions I can explore other possibilities.

0 Answers0