[Numpy-discussion] just curious...why does numpy.where() return tuples?

2008-09-08 Thread Mark Miller
Just for my own benefit, I am curious about this. I am running into problems because I need to archive the result (tuple) returned by a numpy.where statement. Pickle does not seem to like to deal with numpy scalars, and numpy's archiving functions (memmap) can't work on the tuple that gets

Re: [Numpy-discussion] just curious...why does numpy.where() return tuples?

2008-09-08 Thread Robert Kern
On Mon, Sep 8, 2008 at 15:14, Mark Miller [EMAIL PROTECTED] wrote: Just for my own benefit, I am curious about this. I am running into problems because I need to archive the result (tuple) returned by a numpy.where statement. Pickle does not seem to like to deal with numpy scalars, and