标签: python pandas data-science seaborn
我正在尝试使用熊猫绘制箱形图。 使用seaborn的相同代码如下:
sns.boxplot(y ='Salary',data = eda)
这是我在使用熊猫时使用的代码:
boxplot = eda.boxplot(column = ['Salary'])
有什么方法可以像我使用seaborn一样使用熊猫获得相同的箱形图吗?
编辑:使用熊猫时,我需要在y轴上的“工资”列 谢谢!