March 12, 2012
7:04 p.m.
I see unique does not take an axis arg. Suggested way to apply unique to each column of a 2d array?
March 2012
10 p.m.
On Mon, Mar 12, 2012 at 8:04 PM, Neal Becker <ndbecker2@gmail.com> wrote:
I see unique does not take an axis arg.
Suggested way to apply unique to each column of a 2d array?
A for-loop? I'm guessing that there isn't an axis keyword because the number of unique elements per column may not be the same, so you can't return an ndarray. Ralf
5206
Age (days ago)
5210
Last active (days ago)
1 comments
2 participants
participants (2)
-
Neal Becker -
Ralf Gommers