我有一个名为df_summary的数据框:
Grouping High Low
App_ID
1 30.813124 69.186876
3 44.444444 55.555556
4 23.873122 76.126878
5 50.000000 50.000000
6 14.353612 85.646388
7 13.333333 86.666667
8 18.895966 81.104034
9 12.745098 87.254902
12 0.000000 100.000000
13 43.788820 56.211180
14 30.147059 69.852941
15 45.714286 54.285714
16 33.635729 66.364271
17 73.076923 26.923077
18 0.000000 100.000000
20 38.775510 61.224490
我想用seaborn的countplot绘制它。我的代码是:
sns.countplot(data=df_summary,x='App_ID',hue='Grouping')
但是,我收到一条错误消息
ValueError: Could not interpret input 'App_ID'
正在寻求您的帮助以解决此问题。预先感谢