【Datacamp】
Introduction to Power BI https://campus.datacamp.com/courses/introduction-to-power-bi/getting-started-with-power-bi?ex=1
Introduction to Python
Financial Trading in Python https://campus.datacamp.com/courses/financial-trading-in-python/trading-basics-1?ex=3
Practice
Introduction to Data Visualization with Seaborn https://practice.datacamp.com/p/543
Intermediate Data Visualization with Seaborn https://practice.datacamp.com/p/589
Introduction to NumPy https://practice.datacamp.com/p/601
【教學活動】
numpy
NumPy具有線性代數和隨機數生成的內置函數。
NumPy經常與SciPy(Scientific Python)和Mat-plotlib(繪圖庫)等套件一起使用。
語法: import numpy as np
scipy.stats
SciPy涵蓋不同科學計算領域,其中統計套件為stats
語法: import scipy.stats as st 或 from scipy import stats
matplotlib.pyplot
Matplotlib可以創建2D圖形和繪圖。其中pyplot的模塊,提供控制線條樣式,字體屬性,格式化軸等的功能,使繪圖變得容易。
語法:import matplotlib.pyplot as plt
斷詞及文字雲
NLTK英文斷詞
Jieba中文斷詞
wordcloud 文字雲
【參考資料】
永久改變參數 (推薦使用)
A. 確認目前matplotlib指定字體路徑
B. 於Windows系統字型安裝路徑C:\Windows\Fonts找到「微軟正黑體」,通常字型檔名為「msjh.ttc」, 但matplotlib字型資料夾的檔案型態只能接受ttf檔,可以利用線上轉檔將ttc轉換長ttf檔案。
網址:https://www.files-conversion.com/font-converter.php
C. 轉檔完成的msjh.ttf改名為MicrosoftJhengHeiRegular.ttf,並放置於 C:\Users\User\\Anaconda3\lib\site-packages\matplotlib\mpl-data\fonts\ttf下。
D. 編輯matplotlibrc檔案,並找到「font.family」 「font.serif」 「 font.sans-serif 」項目,刪除前方#的註解設定,令其有作用。將font.family此行改成「font.family : Microsoft JhengHei」存檔。
E. 刪除原Matplotlib字型快取設定,路徑位於「C:\Users\User\.matplotlib\」資料夾下
F.重新啟用Python環境
【數位教學影片】