This repository contains a Jupyter notebook for the Idiomatic Pandas tutorial. The notebook covers various topics and interactive exercises designed to reinforce your learning. You can run the notebook in a local virtual environment or directly in GitHub Codespaces.
idiomatic-pandas.ipynb
- This notebookhonest.fth
- The data for the tutorialrequirements.txt
- This file lists the Python dependencies required to run the notebook.
Here's how you can set up and run this project:
-
Clone the Repository
First, clone this repository to your local machine using the following command:
git clone https://github.com/your_username/your_repository.git
-
Create and Activate Virtual Environment
It is always a good practice to create a virtual environment for your Python projects. Here's how you can do it:
For Windows:
python -m venv tutorial_env tutorial_env\Scripts\activate
For macOS/Linux:
python3 -m venv tutorial_env source tutorial_env/bin/activate
-
Install Dependencies
Once your virtual environment is activated, you can install the necessary dependencies using pip. Navigate to the directory containing
requirements.txt
file and run:pip install -r requirements.txt
-
Launch Jupyter Notebook
After you have your environment set up and dependencies installed, you can start Jupyter notebook by running:
jupyter notebook
Then, in your web browser, navigate to the location of the notebook file and click to open it.
GitHub Codespaces is a service that allows you to develop in the cloud instead of locally. Here's how you can use it for this project:
-
Open the Repository in Codespaces
Navigate to this repository in GitHub. Click the
Code
button in the repository header and then selectOpen with Codespaces
. -
Wait for a while
To let the codespace start
-
Open the notebook
-
Click on "Select Kernel" -> Python Environments... -> Python 3.10
You should be good to go.
We hope you enjoy this tutorial and find it helpful. If you want to apply this process to your data with your teams, visit www.metasnake.com for Python and Data training for your teams. Buy Effective Pandas to up your pandas skills.