Skip to content

Exploratory Data Analysis of WHO dataset to determine how key Factor access affects the population

Notifications You must be signed in to change notification settings

hashimaziz88/Data-Sciences

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exploratory Data Analysis:

Bootcamp Exploratory Data Analysis (648) For raw project instructions see: http://syllabus.africacode.net/projects/data-science-specific/ bootcamp-exploratory-data-analysis/

Directory structure

├── data
│   └── data.csv
├── notebook
│   └── eda.ipynb
├── README.md
├── requirements.txt
└── .gitignore  

Usage

Cloning the Repository:

The Project Repository.

To get started go to the Project repository on Github and clone the Git repository to your local machine. This can be done by clicking the code button and copying the URL to clone.

Open a terminal and run the following command:

git clone https://github.com/hashimaziz88/Data-Sciences

This command clones the Git repository, creating a local copy of the entire project along with its version history.

Screenshot 2024-03-06 112443

Requirements for Project to Run:

Ensure that you have Python 3.12.1 installed. You can download it from the official Python website: Python 3.12.1 Download

Following the hyperlink will take you to the Python download page, scroll to the bottom of the page where the download links are, check which package applies to your machine and download the approprate version of python for your specific machine.

Screenshot 2024-03-06 144805

Creating and Activating virtual environment

Open a terminal or command prompt in the project directory and run the following command to create a virtual environment named venv.

python -m venv venv

Thereafter activate Virtual environment. For Windows Machines:

.\venv\Scripts\activate

For other machines such as mac or Linux:

source venv/bin/activate

Once activated, your terminal prompt should change, indicating that you are now working within the virtual environment.

Installing Dependencies:

Use the Python package manager (pip) to install all the required dependencies listed in the "requirements.txt" file. Open a terminal and run the following command:

pip install -r requirements.txt

This ensures that the project has all the necessary libraries and modules.

Running the Project Locally:

  1. Install Visual Studio Code by downloading it from here.

Follow the Hyperlink which will take you to the Visual Studio code download page. Thereafter choose the appropriate version and package for your machine and download it.

Screenshot 2024-03-06 115920

  1. Once installed open VS code.

Screenshot 2024-03-06 113124

  1. Install the Jupyter notebook extension in VSCode. You can find it on the Visual Studio Code marketplace here. This can be done in VS code by navigating to the extension tab clicking on it and searching Jupyter and installing the appropraite extension.

Screenshot 2024-03-06 113236

Screenshot 2024-03-06 113308

  1. Open the project folder in Visual Studio Code by clicking on File in VS code and naviagting to the folder in which the Project is located.

Screenshot 2024-03-06 113641

Screenshot 2024-03-06 112626

  1. Launch the Jupyter notebook from the VSCode interface by clicking on the eda.ipynb file in the notebooks folder.

Screenshot 2024-03-06 133336

  1. To select the Jupyter kernel, open your Jupyter notebook in VS Code and click on the kernel selection dropdown at the top right corner. Choose the correct kernel (Python 3.12.1) to run your notebook.

Screenshot 2024-03-06 113706

  1. After Selection the correct Kernel from the drop down menu the Run All button can be pressed, this runs all code snippets within the Jupyter notebook. Code snippets which need to ouput a resullt, tables or Graphs will then be displayed below its correlating code box.

Screenshot 2024-03-06 113928

  1. Alternatively, you can explore other ways to run Jupyter Notebook by visiting Jupyter Installation.

Deactivating the virtual environment.

When you're done working on your project, deactivate the virtual environment by inputting this in the terminal and then pressing Enter.

deactivate

About

Exploratory Data Analysis of WHO dataset to determine how key Factor access affects the population

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published