> > +            X_std = np.sqrt(X_var, X_var)
> > +            del X_var

> Is it better to write this as just X_std = np.sqrt(X_var)

No, your proposal creates a copy, whereas the above does not.