📘 NumPy Assignment – Complete Solutions
This repository contains my completed NumPy Assignment, covering fundamental and intermediate NumPy operations. The assignment includes array creation, indexing, slicing, boolean filtering, reshaping, transposing, arithmetic operations, matrix operations, and more.
These exercises strengthened my understanding of NumPy—an essential library for Data Science, Machine Learning, and numerical computing.
📂 Assignment Sections
- Basic Indexing and Slicing
- Boolean Indexing
- Reshaping and Transposing
- Matrix Arithmetic & Operations
- Statistical & Aggregation Operations
- Array Creation & Random Numbers
- Boolean Indexing
🧠What I Learned
✔ Understanding of NumPy array structures ✔ Indexing and slicing techniques ✔ Boolean masking for filtering & editing values ✔ Matrix reshaping and transpose operations ✔ Performing statistical functions ✔ Arithmetic and matrix multiplication ✔ Working with random and generated arrays
🚀 How to Run git clone cd numpy-assignment python assignment.py # if using .py fil
Jupyter Notebook # open the .ipynb version
Requirements
Python 3.x NumPy (Optional) Jupyter Notebook Install dependencies:
pip install numpy
Author
Rahul Kumar Aspiring Data Science | Python & ML Learner