On Tue, Nov 6, 2012 at 9:52 PM, Warren Weckesser
warren.weckes...@gmail.com wrote:
On Tue, Nov 6, 2012 at 8:27 PM, Phillip Feldman
phillip.m.feld...@gmail.com wrote:
numpy.unique behaves as I would expect for small inputs like the
following:
In [12]: x= [0, 0, 1, 0, 1, 2, 0, 1, 2, 3]
In
On Wed, Nov 7, 2012 at 11:24 AM, josef.p...@gmail.com wrote:
On Tue, Nov 6, 2012 at 9:52 PM, Warren Weckesser
warren.weckes...@gmail.com wrote:
On Tue, Nov 6, 2012 at 8:27 PM, Phillip Feldman
phillip.m.feld...@gmail.com wrote:
numpy.unique behaves as I would expect for small inputs
On Tue, Nov 6, 2012 at 7:52 PM, Warren Weckesser warren.weckes...@gmail.com
wrote:
On Tue, Nov 6, 2012 at 8:27 PM, Phillip Feldman
phillip.m.feld...@gmail.com wrote:
numpy.unique behaves as I would expect for small inputs like the
following:
In [12]: x= [0, 0, 1, 0, 1, 2, 0, 1, 2, 3]
numpy.unique behaves as I would expect for small inputs like the following:
In [12]: x= [0, 0, 1, 0, 1, 2, 0, 1, 2, 3]
In [13]: unique(x, return_index=True)
Out[13]: (array([0, 1, 2, 3]), array([0, 2, 5, 9], dtype=int64))
But, when I give it something larger, the return index values do not
On Tue, Nov 6, 2012 at 8:27 PM, Phillip Feldman phillip.m.feld...@gmail.com
wrote:
numpy.unique behaves as I would expect for small inputs like the following:
In [12]: x= [0, 0, 1, 0, 1, 2, 0, 1, 2, 3]
In [13]: unique(x, return_index=True)
Out[13]: (array([0, 1, 2, 3]), array([0, 2, 5, 9],