EExcel 丞燕快速查詢2

EExcel 丞燕快速查詢2
EExcel 丞燕快速查詢2 https://sandk.ffbizs.com/

python 3 pandas matplotlib.pyplot

寫程式這麼久,python真的有夠難寫的,網路上一堆範例都有語法上的錯誤或不完整的,後來經由大陸某教學網終於成功

https://morvanzhou.github.io/tutorials/data-manipulation/np-pd/3-8-pd-plot/


1、donwload python3 from python website

2、create aaa.py   put context

import pandas as pd
import numpy as np
import matplotlib.pyplot as plt 

ts = pd.Series(np.random.randn(1000), index=pd.date_range('1/1/2000', periods=1000))
ts = ts.cumsum()
print(ts)

ts.plot()

plt.show()  //This is best important!!

3、python aaa.py  then see error. Usually is package not install. So  just pip install

import matplotlib.pyplot as plt      # pip install matplotlib
import pandas as pd        # pip install pandas

see screen have notis, just follow install.