Bootcamp Exploratory Data Analysis (648) For raw project instructions see: http://syllabus.africacode.net/projects/data-science-specific/ bootcamp-exploratory-data-analysis/
├── data
│ └── data.csv
├── notebook
│ └── eda.ipynb
├── README.md
├── requirements.txt
└── .gitignore
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.
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.
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.
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.
- 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.
- Once installed open VS code.
- 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.
- 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.
- Launch the Jupyter notebook from the VSCode interface by clicking on the eda.ipynb file in the notebooks folder.
- 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.
- 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.
- Alternatively, you can explore other ways to run Jupyter Notebook by visiting Jupyter Installation.
When you're done working on your project, deactivate the virtual environment by inputting this in the terminal and then pressing Enter.
deactivate