ValueError: Could not interpret input 'Rating'

前端 未结 1 362
陌清茗
陌清茗 2021-01-27 17:43

I want to add a graph to my file and it shows the following error and prints an empty graph. I want to plot a graph between the rating column that has values (1,2,3,4,5) and the

相关标签:
1条回答
  • 2021-01-27 18:17

    You should pass data parameter instead of edata

    sns.countplot(x='Rating', data=Edata);
    
    0 讨论(0)
提交回复
热议问题