2.1.5.Python for Data Visual Visualization - Pandas Built-in Data Visualization
Last updated
Was this helpful?
Last updated
Was this helpful?
將matplotlib的圖表直接嵌入到Notebook之中
讀取資料格式 (df1)
由於df1的資料有時間這個索引值, 因此必須指定index為0
讀取資料
讀取資料格式 (df2)
讀取資料
一般會配合Matplotlib一起使用
設定圖的大小
將df1的資料畫成長條圖
也可以用
可以搭配filter使用, 例如
用hist比較不同性質的資料
alpha為透明度參數
基本用法
基本用法
stacked
基本用法
將原始資料作為色調值的來源
將原始資料作為尺度的來源
基本用法, 關於boxplot的定義可以參考此篇筆記
將兩資料的box plot畫在一起
基本用法
改變線條的style (width, size)
基本用法
由於此資料沒有索引值, 不需指定index