[Numpy-discussion] Numpy array performance issue

Robert Kern robert.kern@gmail....
Thu Feb 25 09:50:01 CST 2010


On Thu, Feb 25, 2010 at 07:51, Bruno Santos <bacmsantos@gmail.com> wrote:
> I just realized that the line lsPhasedValues =
> numpy.unique1d(aLoci[numpy.where(aLoci[index_nSize]>0)]) does not work
> properly.
> How can I get the unique values of an array based on their indexes?

I don't know what that sentence means. Please show us some complete
code that gives you a result that you do not expect and show us the
result that you do expect.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco


More information about the NumPy-Discussion mailing list