Create a boxplot that contains the "Height" column for mens_rowing on the left and mens_gymnastics on the right. Add x-a

动态 未结 0 128
小小草
小小草 LV1 2023年9月23日 23:40 发表
fig, ax = plt.subplots() # Add a boxplot for the "Height" column in the DataFrames ax.boxplot([mens_rowing["Height"], mens_gymnastics["Height"]]) # Add x-axis tick labels: ax.set_xticklabels(["Rowing", "Gymnastics"]) # Add a y-axis label ax.set_ylabel("Height (cm)") plt.show()
收藏(0)  分享
相关标签: 智能问答
问题没解决?让AI助手帮你作答 AI助手
0个回复
  • 消灭零回复