一、简单的绘图展示
randomList = np.random.randn(10).cumsum()
randomList
'''
array([ 0.43692622, -0.17404988, 0.8479853 , 1.39711286, 1.67546532,
4.37286221, 4.22259538, 4.40355887, 4.38907365, 4.45077964])
'''
s = pd.Series(randomList,
index=np.arange(0,100,10))
s
'''
0 0.436926
10 -0.174050
20 0.847985
30 1.397113
40 1.675465
50 4.372862
60 4.222595
70 4.403559
80 4.389074
90 4.450780
dtype: float64
'''
s.plot()
plt.show()
arr = np.random.randn(10,4)
arr
array([[ 0.01616026, 0.57473119, 0.65414164, 0.93159686],
[-0.03817341, -0.64962119, 0.27062599, 1.87690331],
[ 1.15445861, 0.26759284, 0.69272073, -1.03753846],
[ 0.11747495, 0.07197997, 0.15004073, -1.42265905],
[-1.03527018, 0.38356526, -0.60570823, 0.45902491],
[ 1.00210782, -1.18924028, -1.15890713, 0.7904771 ],
[-0.70293899,