Scrape and store data for html display
If you are using the data for normal use you can store it in sqlite db instead of mysql which has inbuilt support from python. If your site is mostly static then you can use Beautifulsoup for scraping and there are lot of python libraries like numpy for statistical analysis. If your target site has dynamically generated content then better use phantomjs or selenium driver to retrieve those contents
I have coded python to scrape a webpage and retrieve listing prices.
I want to store the data and conduct a statistical analysis on the dataset. 
Would this work?
Python -> beautifulsoup -> mySQL -> html
Data set:
$10 , $20, $10
I want to be able to calculate averages and then display them on the html page.