This project will demonstrate the data analysis of real estate data set stored into Mysql database.
- Create engine to establish connection with mysql database using sqlalchemy and pymysql.
- Generate dataframes using pandas.
- Display sections of dataframe, e.g Location and Price.
- Display number of properties at each location.
For this demonstration, I am using the Jupyter Notebook, open-source web application that allows you to create and share documents that contain live code, equations, visualizations and narrative text.
Establish a connection with the mysql database using sqlalchemy's create_engine. Use your own credentials.
Create a virtual enviroment and install dependencies by running requirements.txt.
$ pip install virtualenv env
$ source env/bin/activate
$ pip install -r requirements.txt
Run the script.
$ jupyter notebook