(x, axis=None, ddof=0)
return np.sqrt(var(x, axis=axis, ddof=ddof))
Equivalent of np.std that supports sparse and dense matrices.
Equivalent of np.std that supports sparse and dense matrices.
Equivalent of np . std that supports sparse and dense matrices .
def std(x, axis=None, ddof=0):
    """ Equivalent of np.std that supports sparse and dense matrices. """
    return np.sqrt(var(x, axis=axis, ddof=ddof))
def std ( x , axis = None , ddof = 0 ) : return np . sqrt ( var ( x , axis = axis , ddof = ddof ) )