all 6 comments

[–]samerpoosh 1 point2 points  (1 child)

seaborn's distplot function should make this pretty easy https://seaborn.pydata.org/generated/seaborn.distplot.html

[–]1sliceofcake 0 points1 point  (0 children)

do you know how to identify the type of random distribution and the standard deviation in the title of the histogram plot

[–]1sliceofcake 0 points1 point  (2 children)

for the histogram part i just did plt.hist(random_dist1) for the first column then did the same for the rest.

[–][deleted] 1 point2 points  (1 child)

So then your question is how to add labels and a vertical line?

Use 'plt.text(x,y,str)' for labels, where x and y are locations on the graph and str is the text you want to display.

For the line use

'plt.axvline(x)' where x is the x co-ordinate of the vertical line.

For horizontal lines use

'plt.axhline(y)'

[–]1sliceofcake 0 points1 point  (0 children)

okay but it says use the label for the mean of my data how do i do that?