simple question about gaussian mixture model implementation

Job ID: 33111970

Budget: €8 – €30 EUR

have some daily timeseries (27) for electricity consumption. For each hour I want to know what the probability density function looks like. What I did so far is extracting the hourly values for each series, to know what values are present in each hour.

E.g.

12_am = [4.4, 1.1, 3.0, 4.7, 4.6, 5.9, 4.5, 5.9, 19.2, 3.5, 2.8, 2.9, 12.4, 14.0, 0.5, 52.7, 1.1, 8.8, 2.7, 1.9, 9.3, 6.3, 10.7, 9.6, 4.7, 8.2, 10.1]
len(12_am) = 27
So far so good. So I do have my values, I know the mean is 7.98, I know the variance is 95.587. This leaves me with these questions:

How can I know create the PDF of these samples? And build a gaussian mixture pdf from that.
Related categories: Python Statistics