import pandas
import numpy as np
a = np.ones((43200, 4000))
x = pandas.HDFStore('some_file.hdf')
x.append('a', pandas.DataFrame(a))
x.close()
my_data = pandas.HDFStore('some_file.hdf')
usable_a_copy = my_data['a']
copy_as_nparray = usable_a_copy.values
How to save big array so that it will take less memory in python?