This repository contains a collection of Python notes, primarily focused on data analysis and general Python programming. The notes are based on several popular books and are organized in Jupyter notebooks for easy reference and interactive learning.
Some python notes. The initial motive is the interest group created by my teacher Richard Gu in 2024 April.
These notes were initially created as part of an interest group led by Richard Gu in April 2024. The project aims to provide a comprehensive resource for learning Python, with a particular emphasis on data analysis techniques and tools.
- Detailed notes on Python fundamentals
- Coverage of data analysis libraries such as pandas, NumPy, and Matplotlib
- Interactive Jupyter notebooks for hands-on learning
- Examples and exercises from popular Python and data analysis books
- Python basics and data types
- Control structures (loops, conditionals)
- Functions and classes
- NumPy library for numerical computing
- pandas library for data manipulation and analysis
- Data visualization with Matplotlib
- Regular expressions
- File handling
- Useful Python tools and environment setup
The notes are based on the following books:
- Wes McKinney - Python for Data Analysis: Data Wrangling with pandas, NumPy, and Jupyter (O'Reilly Media, Inc., 2022)
- Fabio Nelli - Python Data Analytics: With Pandas, NumPy, and Matplotlib, 3rd Edition (Apress, 2023)
- Rob Mastrodomenico - The Python Book (John Wiley & Sons, 2022)
-
Clone this repository to your local machine:
git clone https://github.com/your-username/python-notes.git
-
Ensure you have Anaconda or Miniconda installed on your system.
-
Create a new conda environment:
conda create -n python-notes python=3.11
-
Activate the environment:
conda activate python-notes
-
Install the required packages:
conda install jupyter pandas numpy matplotlib pip install jupytext plotly resource-usage pyviz
-
Launch Jupyter Notebook:
jupyter notebook
- Open the desired notebook file (
.ipynb
) in Jupyter Notebook. - Read through the notes and run the code cells to see the examples in action.
- Modify the code and experiment with different inputs to deepen your understanding.
The useful_tools.ipynb
notebook contains information on:
- Setting up Jupyter Notebook to work with multiple Python environments
- Installing additional useful packages
- Configuring Jupyter Notebook for improved usability
If you find any errors or would like to add more content, please feel free to open an issue or submit a pull request.
This project is licensed under the GNU General Public License v3.0. See the LICENSE file for details.