seaborn.boxplot公司和数据帧

2024-09-28 03:19:02 发布

您现在位置:Python中文网/ 问答频道 /正文

我有一个这样的dataFrame

dataframe

我一个接一个地尝试了这两个指令:

sns.boxplot([dataFrame.mean_qscore_template,dataFrame.mean_qscore_complement,dataFrame.mean_qscore_2d])
sns.boxplot(x = "mean_qscore_template", y= "mean_qscore_complement", hue = "mean_qscore_2d" data = tips)

我想得到x轴上的mean_qscore_templatemean_qscore_complement和{},测量在y轴上,但它不起作用。在

image

在文档中,他们给出了一个带有提示的示例,但是我的dataFrame的组织方式不同。在


Tags: 文档示例dataframedata方式指令templatemean

热门问题