April 27, 2006
8:57 a.m.
On 4/27/06, Lionel Roubeyrie <lroubeyrie@limair.asso.fr> wrote:
[....................] I want to obtain the index of the max value in each column of a 2d masked array, then how can I do that without comparaison?
ma.argmax(x, axis=0, fill_value=ma.maximum_fill_value(x)) or better: argmax(x.fill(ma.maximum_fill_value(x)), axis=0)