In [0]:
import matplotlib.pyplot as plt
import numpy as np
import scipy.stats as stats
np.seed = 33
In [0]:
In [7]:
a = np.random.randint(100,1000,10)
a_zscores = stats.zscore(a)
plt.figure(1,figsize=(9,3))
plt.subplot(2,1,1)
plt.plot(a)
plt.subplot(2,1,2)
plt.plot(a_zscores)
plt.show()
In [0]:
In [0]: