[SciPy-dev] feedback on scipy.sparse

Robert Cimrman cimrman3@ntc.zcu...
Thu Dec 13 06:59:49 CST 2007


Matthieu Brucher wrote:
> Not exactly.
> I have something like :
> a = [[0, 2, 5], [3, 4], [4, 2]]
> and then some data :
> data = [1, 2, 3, 4, 5, 6, 7] or [[1, 2, 3], [4, 5], [6, 7]]and then
> the matrix would be :
> 
> [[1, 0, 2, 0, 0, 0]
> [0, 0, 0, 3, 4, 0]
> [0, 0, 7, 0, 6, 0]]
> 
> Is there something like this ?

I see, I do not think there is a function like this.

r.



More information about the Scipy-dev mailing list