[SciPy-user] extracting an array with only non repeated entries
Sun Jan 20 21:01:22 CST 2008
thx so much,
David Warde-Farley wrote:
> On 20-Jan-08, at 9:34 PM, Johann Cohen-Tanugi wrote:
>> I have an array with integers, some of them repeating several times,
>> I would like to get the array of all the integers present in the
>> array, but without repetition.... I started looking at the doc but
>> haven't found such a functionality yet.
> You're looking for the function numpy.unique1d .
> SciPy-user mailing list
More information about the SciPy-user