Numpy Array of Sets

LJ luisjosenovoa at gmail.com
Sun May 25 10:14:13 EDT 2014


Thank you for the reply.

So, as long as I access and modify the elements of, for example, 

A=array([[set([])]*4]*3)


as (for example):

a[0][1] = a[0][1] | set([1,2])

or:

a[0][1]=set([1,2])

then I should have no problems?



More information about the Python-list mailing list