[Scipy-svn] r4745 - trunk/scipy/stats

scipy-svn@scip... scipy-svn@scip...
Thu Sep 25 23:03:10 CDT 2008


Author: cdavid
Date: 2008-09-25 23:02:51 -0500 (Thu, 25 Sep 2008)
New Revision: 4745

Modified:
   trunk/scipy/stats/stats.py
Log:
Fix deprecation warning for stats.var.


Modified: trunk/scipy/stats/stats.py
===================================================================
--- trunk/scipy/stats/stats.py	2008-09-26 04:02:08 UTC (rev 4744)
+++ trunk/scipy/stats/stats.py	2008-09-26 04:02:51 UTC (rev 4745)
@@ -1196,7 +1196,7 @@
 Please note that:
     - numpy.var axis argument defaults to None, not 0
     - numpy.var has a ddof argument to replace bias in a more general manner.
-      scipy.stats.var(a, bias=True) can be replaced by scipy.stats.var(x,
+      scipy.stats.var(a, bias=True) can be replaced by numpy.var(x,
 axis=0, ddof=1).""", DeprecationWarning)
     a, axis = _chk_asarray(a, axis)
     mn = np.expand_dims(mean(a,axis),axis)



More information about the Scipy-svn mailing list