how to put column value counts into a histogram 1

how to put column value counts into a histogram

ex3.Severity.value_counts().plot(kind='bar')

Here is what the above code is Doing:
1. We’re using the .value_counts() method to count the number of times each value appears in the column.
2. We’re using the .plot() method to plot the results as a bar chart.

Similar Posts