我有兩個(gè) DataFramenorth和south. 每個(gè)都有相同的行和列。我想將兩個(gè) DataFrame 的速度列繪制在一個(gè)圖中作為條形圖。我正在嘗試這個(gè):ax = south['speed'].plot(kind='bar', color='gray')north['speed'].plot(kind = 'bar', color='red', ax=ax)plt.show()但它只繪制最后一個(gè)數(shù)據(jù)幀,即只繪制數(shù)據(jù)幀north。你能幫助我嗎?
添加回答
舉報(bào)
0/150
提交
取消