我需要從一個數據框的多個列建立一個折線圖。在pandas中,可以使用以下程式碼繪製多行圖表: df.plot(x='date', y=['sessions', 'cost'], figsize=(20,10), grid=True)
確定! 回上一頁