【发布时间】:2021-11-12 15:02:04
【问题描述】:
我有一个 DataFrmae(choosen_merged):
ax = choosen_merged.boxplot()
ax.set_title("Boxplot"+" Sensor: "+f"{pick_column}"+" "+f"{df_date}")
#ax.set_xlabel("x_label")
ax.set_ylabel(f"{a_string}")
plt.show()
输出:
目标: 我想从我的 df 中获取每天的箱线图。
解决方法:
找到了类似的方法,但不幸的是它对我没有进一步的帮助Time-series boxplot in pandas
最后一个答案也适用于时间戳,但在索引中。如何将其应用于列?
【问题讨论】:
标签: pandas dataframe group-by boxplot