You can run the notebook using Github Codespaces or locally:
You can use GitHub Codespaces to run this codebase in a fully configured, cloud-hosted development environment:
-
Click the green "Code" button on the main repository page.
-
Click "Open with Codespaces" and "New codespace."
-
Open up a notebook in
notebooks
(e.g.notebooks/01-StudentData.ipynb
)
To run this codebase locally, you'll need to set up a Python virtual environment and install the necessary packages. Follow these steps:
-
Ensure you have Python installed on your system. If not, you can download it from here.
-
Clone this repository into your local machine using the terminal (macOS and Linux), Windows Terminal (Windows), or a GUI tool like SourceTree or GitHub Desktop.
-
Navigate to the repository folder via your terminal.
-
Create a virtual environment. You can do this by running:
python -m venv env
This will create a new Python virtual environment in a folder named
env
. Note: On some systems you'll need to typepython3
rather thanpython
. -
Activate the virtual environment. On macOS and Linux, run:
source env/bin/activate
On Windows, run:
.\env\Scripts\activate
-
Install the necessary packages using pip by running:
pip install -r requirements.txt
This will install all the packages listed in
requirements.txt
to your virtual environment. -
Launch jupyter
jupyter lab
-
Open up a notebook in
notebooks
(e.g.notebooks/01-StudentData.ipynb
).