Antonio Valentino tiscali.it> writes:
>
> Hi Tom,
>
> If my understanding is correct before calling csc_matrix you should
> actually read data from disk
>
> > data = f2.root.M.data[...]
> > ir = f2.root.M.ir[...]
> > jc = f2.root.M.jc[...]
>
> Please note that f3.root.M.data in a pytables ob
Hi Tom,
Il 09/12/2011 14:12, Tom Diethe ha scritto:
> I have files stored using Matlab's sparse format (HDF5, csc I
> believe), and I'm trying to use Pytables to operate on them directly,
> but haven't succeeded yet. Using h5py I can do the following:
>
> # Method 1: uses h5py (WORKS)
> f1 = h5py
I have files stored using Matlab's sparse format (HDF5, csc I
believe), and I'm trying to use Pytables to operate on them directly,
but haven't succeeded yet. Using h5py I can do the following:
# Method 1: uses h5py (WORKS)
f1 = h5py.File(fname)
data = f1['M']['data]
ir = f1['M]['ir']
jc = f1['M']