This post includes my question but is actually about another question: Pandas DataFrame serialization
Is there serialization routine like numpy.savez for pandas dataframes? I see I can use hdf5 but I was hoping to avoid this since hdf5 is an extra install and I haven't been able to get h5py up and running on all the platforms I need.
Arg, DataMatrix is the same as DataFrame. There is a 'load' and a 'save' function that seems to work ... I guess the best way to search the docs is using the interactive prompt with ipython.
Can you instead get PyTables (installation) working on all platforms relevant to you?
In that case you can use directly the HDFStore class in Pandas to serialize Panels and DataFrames, potentially with compression, to HDF5.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With