This is just `sklearn.utils.extmath.norm(X.data)`, except probably slower.