Pie chart of value_counts() output, map text to numeric value labels with dictionary

You can replace the index and plot:

dat.index = dat.index.map(dct)



enter image description here

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top