Welcome to the NumPy and Pandas Python Library Tutorial Repository!
This project provides two beginner-to-moderate level Jupyter Notebooks that demonstrate how to use NumPy and Pandas for numerical computation and data analysis in Python.
It’s perfect for students, developers, and data-science enthusiasts who want to build a strong foundation in Python’s data ecosystem.
| Library | Description |
|---|---|
| 🧠 NumPy | A library for fast numerical operations, linear algebra, and multi-dimensional arrays. |
| 🐼 Pandas | A library for handling, analyzing, and visualizing structured data easily and efficiently. |
Both notebooks are designed to be beginner-friendly yet insightful enough for moderate-level learners.
data-science-libraries/
│
├── NumPy # NumPy hands-on notebook
├── pandas # Pandas practical guide
└── README.md # Documentation (this file)
Welcome to the NumPy Python Library Tutorial — a structured Jupyter Notebook designed for anyone who wants to strengthen their understanding of numerical computing with Python.
| Section | Topic | Description |
|---|---|---|
| 1️⃣ | Importing & Basics | Understanding what NumPy is and its version |
| 2️⃣ | Array Creation | Using lists, ranges, zeros, ones, random, etc. |
| 3️⃣ | Array Properties | Learn shape, dtype, dimension, and size |
| 4️⃣ | Indexing & Slicing | Accessing and modifying array elements |
| 5️⃣ | Mathematical Operations | Element-wise arithmetic and universal functions |
| 6️⃣ | Statistical Functions | Mean, median, std, min, max, sum |
| 7️⃣ | Reshaping & Stacking | Reshape and merge multiple arrays |
| 8️⃣ | Broadcasting | Perform operations on arrays of different shapes |
| 9️⃣ | Mini Project – Student Marks Analysis | Real-world example using NumPy |
pip install numpy jupyter
jupyter notebook NumPy_Tutorial.ipynbAddition: [ 7 14 21]
Mean: 52.857142857142854
Topper: Student 5 with Average Marks: 94.33
Best Subject Index: 3 with Average: 86.8
✅ NumPy Tutorial Completed Successfully!
- Create and manipulate NumPy arrays effectively
- Perform fast vectorized numerical computations
- Reshape, stack, and broadcast arrays
- Apply NumPy in real-world data analysis
Welcome to the Pandas Python Library Tutorial Repository!
This notebook demonstrates how to use Pandas for data analysis and data manipulation in Python — from beginner to moderate level.
- 📘 Introduction to Pandas
- 🧾 Creating and Reading DataFrames
- 📂 Reading & Writing CSV Files
- 🔍 Data Selection and Filtering
- 🧩 Adding & Removing Columns
- 🧹 Handling Missing Data
- 📊 Grouping and Aggregation
- 🪄 Sorting Data
- 📈 Visualization using Matplotlib
- Create and explore DataFrames
- Clean, filter, and modify data
- Perform statistical operations
- Handle missing or duplicate values
- Visualize data using Matplotlib
- Save and load datasets (CSV format)
pip install pandas numpy matplotlib
jupyter notebook pandas_basics.ipynb- Filtering students by city or marks
- Filling missing values with
fillna() - Grouping by city to find average marks
- Sorting and visualizing student marks
Example code:
grouped = df.groupby('City')['Marks'].mean()
print(grouped)Name Marks
Amit 88
Sneha 92
Ravi 79
Priya 85
Vikram 95
📊 The bar chart visualizes marks comparison among students.
- 🐍 Python 3.x
- 🧠 NumPy
- 🐼 Pandas
- 📈 Matplotlib
- 📘 Jupyter Notebook
👤 Krushnal Patil
🎓 Final Year B.Tech (IT) Student | 💻 Aspiring Data Scientist
📫 Connect with me:
- 🌐 GitHub
- ✉️ Email: Krushnalpatil056@gmail.com
Python NumPy Pandas Data Science Machine Learning DataFrame
Data Analysis Jupyter Notebook Python Projects Moderate Level CSV Handling
If you find this project helpful:
- ⭐ Star this repository
- 🐛 Report issues or suggest improvements
- 🧠 Fork and extend with new topics
- 🔁 Share it with your learning community
This project is open source under the MIT License.
Feel free to use, modify, or share for educational purposes.
🧠 “Data is the new oil — and Pandas & NumPy are your refinery tools.”
– Krushnal Patil