samplevar is deprecated!
scipy.stats.samplevar is deprecated; please update your code to use numpy.var.
Please note that numpy.var axis argument defaults to None, not 0.
Returns the sample standard deviation of the values in the passed array (i.e., using N). Axis can equal None (ravel array first), an integer (the axis over which to operate)