[SciPy-User] scipy.stats.nanmedian

Pierre GM pgmdevlist at gmail.com
Thu Jan 21 21:41:37 EST 2010


On Jan 21, 2010, at 9:28 PM, Keith Goodman wrote:
> On Thu, Jan 21, 2010 at 6:15 PM,  <josef.pktd at gmail.com> wrote:
>> Can you open a ticket, so that I don't forget to look at it?
> 
> Sure.
> 
>> 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?


.item()



More information about the SciPy-User mailing list