導入包matplotlib.pyplot as plt
折線圖:plt.plot()
散點圖:plt.scatter()
直方圖:plt.hist()
數(shù)軸標簽:plt.xlable(’name’);plt.ylable(’name’)
數(shù)據(jù)標簽:plt.xticks([,,,],[‘’,’’,’',])
標題:plt.title
查看幫助:help(函數(shù))
翻轉(zhuǎn)橫縱坐標:dataFrame = dataFrame1.sort(["橫坐標"],ascending=False)