Why is countplot showing single value

22 Views Asked by At

I am plotting a graph but it's showing a single value in the plot.

I am currently working on a data set that has Amazone Reviews and rating. I've checked there are revies ranging from 1-5. But the plot says it's zero. rating plot

below is my code

sns.countplot(data['reviews.rating'], palette='Blues')

plt.title('Distribution of rating scores')
plt.xlabel('Rating')
plt.ylabel('Count')
plt.show()
0

There are 0 best solutions below