matplotlib基礎學習

從具體的數據圖形上手,常見的有餅狀圖,條形圖,以及折線圖,散點圖,還有如何讀取圖片文件。以下附上練習代碼: 1.餅狀圖學習案例: #餅狀圖學習案例 import matplotlib.pyplot as plt labels, quants = [], [] file = open('/home/honorwh/Documents/機器學習和數據挖掘/major_country_gdp.csv')
相關文章
相關標籤/搜索