Le 05/07/2013 00:31, Anthony Scopatz a écrit :
On Thu, Jul 4, 2013 at 4:13 PM, Mathieu Dubois
duboismathieu_g...@yahoo.fr mailto:duboismathieu_g...@yahoo.fr wrote:
Hello,
I'm a beginner with Pyable.
I wanted to store a database in a HDF5 file using PyTable. The DB is
made
Le 11/07/2013 21:56, Anthony Scopatz a écrit :
On Thu, Jul 11, 2013 at 2:49 PM, Mathieu Dubois
duboismathieu_g...@yahoo.fr mailto:duboismathieu_g...@yahoo.fr wrote:
Hello,
I wanted to use PyTables in conjunction with multiprocessing for some
embarrassingly parallel tasks
)
rtn = h5file.root.X[:, column].mean()
h5file.close()
return rtn
p = multiprocessing.Pool(2)
col_mean = p.map(f, ['test.hdf5', 'test.hdf5', 'test.hdf5'])
Be well
Anthony
On Thu, Jul 11, 2013 at 3:43 PM, Mathieu Dubois
duboismathieu_g...@yahoo.fr mailto:duboismathieu_g...@yahoo.fr