Hi fellow python users.
Okay so I have this pandas.core.series.Series
looking something like this:
In [1]: ps
Out[1]:
asdf-Day_00 0
fldk-Day_00 0
fsld-Day_00 6
..
gejw-Day_40 2
gefw-Day_40 8
Name: something, Length: 55383, dtype: category
Categories (12, object): ['0', '1', '2', '3', ..., '8', '9', '10', '11']
Indices are comprised of 'Day_00', 'Day_10', 'Day_20', 'Day_30', 'Day_40'
, with arbitrary string and dash in front.
Values are, as you can see above, made up of '0'
~ '11'
.
I want to make this pandas series into proportional plot, just like the attached .png file below (Sorry for poor elaboration of what I want to do and instead just attaching the example figure)
Proportional plot example