Home > Blockchain >  How can I create a bar chart with ranges of values
How can I create a bar chart with ranges of values

Time:08-03

I have a data frame with, among other things, a user id and an age. I need to produce a bar chart of the number of users that fall with ranges of ages. What's throwing me is that there is really no upper bound for the age range. The specific ranges I'm trying to plot are age <= 25, 25 < age <= 75 and age > 75.

I'm relatively new to Pandas and plotting, and I'm sure this is a simple thing for more experienced data wranglers. Any assistance would be greatly appreciated.

CodePudding user response:

You'll need to use the enter image description here

  • Related