On Thu, May 6, 2010 at 4:45 PM, T J firstname.lastname@example.org wrote:
On Thu, May 6, 2010 at 10:36 AM, email@example.com wrote:
there is a thread last august on unique rows which might be useful, and a thread in Dec 2008 for sorting rows
maybe it's np.unique with numpy 1.4.
The thread is useful:
I'll have to see if it is quicker for me to just do:
y = x.transpose().tolist() y.sort() x = np.array(y).transpose()
for sure it's easier to read. the difference might be temporary array creation compared to using numpy.sort on a view.
NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion