[Numpy-discussion] Numpy array performance issue
Wed Feb 24 11:53:59 CST 2010
On Wed, Feb 24, 2010 at 11:50, Bruno Santos <email@example.com> wrote:
> In both versions your lsPhasedValues contains the number of positions in the
> array that match a certain criteria. What I need in that step is the unique
> values and not their positions.
lsPhasedValues = np.unique1d(aLoci[j_nSize_mask & (aLoci >= 0)])
"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