[SciPy-User] scipy.stats.nanmedian

Keith Goodman kwgoodman@gmail....
Thu Jan 21 20:28:47 CST 2010

On Thu, Jan 21, 2010 at 6:15 PM,  <josef.pktd@gmail.com> wrote:
> Can you open a ticket, so that I don't forget to look at it?


> I will need to play with it. There are some things that I don't
> understand right away.
> What's the difference between isscalar and ndim=0 ?

A scalar doesn't have a ndim method. But now I see that there is a
ndim function. I'll use that instead.

> Why do you have the tolist()

That's the only was I was able to figure out how to pull 1.0 out of
np.array(1.0). Is there a better way?

>> np.array(1.0).tolist()

More information about the SciPy-User mailing list