Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #72010

Re: Numpy Array of Sets

Newsgroups comp.lang.python
Date 2014-05-25 07:14 -0700
References <38836877-cd87-44ce-b9df-1eda702e7164@googlegroups.com> <llr5k8$3n6$1@ger.gmane.org> <mailman.10273.1400970363.18130.python-list@python.org> <f55843c2-17f3-4551-a1c6-b608c09fd6d8@googlegroups.com> <mailman.10294.1401024422.18130.python-list@python.org>
Message-ID <9929f123-705c-4656-a400-171e48935244@googlegroups.com> (permalink)
Subject Re: Numpy Array of Sets
From LJ <luisjosenovoa@gmail.com>

Show all headers | View raw


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?

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Numpy Array of Sets Luis José Novoa <luisjosenovoa@gmail.com> - 2014-05-24 15:05 -0700
  Re: Numpy Array of Sets Robert Kern <robert.kern@gmail.com> - 2014-05-24 23:14 +0100
  Re: Numpy Array of Sets Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de> - 2014-05-25 00:25 +0200
    Re: Numpy Array of Sets LJ <luisjosenovoa@gmail.com> - 2014-05-25 05:29 -0700
      Re: Numpy Array of Sets Peter Otten <__peter__@web.de> - 2014-05-25 15:26 +0200
        Re: Numpy Array of Sets LJ <luisjosenovoa@gmail.com> - 2014-05-25 07:14 -0700
          Re: Numpy Array of Sets Peter Otten <__peter__@web.de> - 2014-05-25 17:12 +0200
            Re: Numpy Array of Sets LJ <luisjosenovoa@gmail.com> - 2014-05-25 08:17 -0700

csiph-web