I have sorted data with pandas so that I have this dataframe (I work with anaconda, jupyter notebook):
I showed a histogram with the abscissa indexing "écart G-D" and ordinate "probabilité".
I found a topic on stack overflow that deals exactly what I want to do except that it is 7 years old and the code is obsolete! I still tried while correcting some things but it does not work (besides I do not even understand the code) ... Here is the link of the topic: Fitting empirical distribution to theoretical ones with Scipy (Python)?
I would like to graphically test the probability density function that best follows the shape of my histogram. If anyone could enlighten me, it would be great because I'm really in a bind ...
Thank you.