[SciPy-user] Inconsistent standard deviation and variance implementation in scipy vs. scipy.stats

David Cournapeau david at ar.media.kyoto-u.ac.jp
Thu Sep 25 23:55:48 EDT 2008


Jarrod Millman wrote:
> On Thu, Sep 25, 2008 at 12:50 AM, Stéfan van der Walt <stefan at sun.ac.za> wrote:
>> 2008/9/25 David Cournapeau <cournape at gmail.com>:
>>> I suggested some time ago to deprecate scipy.stats current signature
>>> for 0.7, and set the new one in 0.8. If that's fine with you, we could
>>> do that. I don't feel confortable changing a function in scipy.stats
>>> (because it is not "my" module), but OTOH, nobody reacted last time we
>>> had this discussion, so maybe we should just do it.
>> Yes, do it.  If someone complains, that's why we have SVN.  The SciPy
>> API is not (and cannot be) frozen -- it is still too immature, so
>> let's get it up to scratch ASAP.

I added a Deprecation warning with the correct function to use in numpy
(with alternative arguments) for the following:
    - mean
    - median
    - std
    - var
    - cov
    - corrcoeff
AFAICS, all functionality of any of those is available in numpy
(contrary to what the comment says, I guess they are vastly out of date),

cheers,

David



More information about the SciPy-User mailing list