by using SQLites AVG function rather than doing it in Python.
Attach a file by drag & drop or click to upload