Suppose I have a dataframe like this:
| Age | name | Income per hour |
|---|---|---|
| 1.0 | A | 0 |
| 1.0 | B | 1 |
| 2.0 | C | 3 |
| 2.0 | D | 10 |
| 3.0 | E | 8 |
| 3.0 | E | 11 |
| 3.0 | E | 20 |
I want to create a grouped bar plot where the "age" column is on the x-axe and "income per hour" column is on the y-axe. The plot look will be like:A's and B's data will stay at age 1, C's and D's data will stay at age 2 ,and etc. I've tried multiple ways, but I still couldn't get the plot I want. Any idea?