我有以下pandas dataframe,我想在matplotlib中将NaN
和high
值绘制为bar plot
:
df
Close 1 Close 2 Close 3 Close 4 Close 5 Close 6
Index
NaN 0.000348 0.000975 0.001450 0.001923 0.002483 0.002916
high 0.001416 -0.000215 0.000058 0.000026 -0.000766 -0.000255
x轴上的标签应为列名。如何做到这一点?在
提前致谢。在
您可以绘制转置DF:
带垂直标签:
^{pr2}$相关问题 更多 >
编程相关推荐