I have a frame with the folowing structure:
df = pd.DataFrame({'ID': np.random.randint(1, 13, size=1000),
'VALUE': np.random.randint(0, 300, size=1000)})
How could i plot the graph, where on the X-axis there will be percentiles (10%, 20%,..90%) and on the Y-axis there should be quantity of values, that lies between percentile ticks , for example 20%-30% And ther must be a seperate plot for every ID (and different percentiles values also)
i've found percentiles and stuck
q = [0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8]
df.groupby('ID')['VALUE'].quantile(q)
I guess the plot should look like a histogram for VALUE parameter, but with percentage on X axis instead of numeric values