import numpy as np
from sklearn.preprocessing import StandardScaler
data = np.random.randint(25, size=(4, 4))
data
standardized_data = StandardScaler().fit_transform(data)
standardized_data
How do I standardize a matrix?