Analyze a dataset containing the prices and other attributes of almost 54,000 diamonds with ploting and mathmatical equations
- Python
- Pandas
- Matplotlib
- Seaborn
- Enter the directory where the script is located then type the following to the console
$ git clone https://github.com/sherif-abdallah/exploratory-data-analysis exploratory-data-analysis
- Install Python 3.8 venv, pip and compiler
$ sudo apt-get install python3.8 python3.8-venv python3-venv
- Create a virtual environment to install dependencies in and activate it:
$ python3.8 -m venv venv
$ source venv/bin/activate
- Then install the dependencies:
(venv)$ cd exploratory-data-analysis
(venv)$ python -m pip install --upgrade pip
(venv)$ python -m pip install -r requirements.txt
Note the (venv)
in front of the prompt. This indicates that this terminal
session operates in a virtual environment set up by virtualenv
.
- Finally open the Jupyter Notebook Script
(venv)$ python -m notebook notebook.ipynb
- And navigate to
http://127.0.0.1:8888
.