A comprehensive NumPy learning repository covering everything from the fundamentals of arrays to advanced data analysis, CSV handling, statistics, sorting, searching, array manipulation, and a real-world retail analytics project.
This repository documents my complete NumPy learning journey through theory, practical examples, coding exercises, and projects.
- Introduction to NumPy
- Creating Arrays
- Array Attributes
- Data Types
- Dimensions
- Shape
- Size
- Itemsize
- Memory Usage
- 0-D Arrays
- 1-D Arrays
- 2-D Arrays
- 3-D Arrays
- Integer Indexing
- Negative Indexing
- Fancy Indexing
- Boolean Indexing
- Array Slicing
- Multi-dimensional Slicing
- Arithmetic Operations
- Element-wise Operations
- Broadcasting
- Dot Product
- Matrix Multiplication
- Power
- Square Root
- Exponential Functions
- Trigonometric Functions
- Mean
- Median
- Mode
- Standard Deviation
- Variance
- Sum
- Minimum
- Maximum
- Percentile
- Quantile
Implemented using:
np.where()np.nonzero()np.argwhere()np.argmax()np.argmin()np.count_nonzero()
Implemented:
np.sort()np.argsort()- Quick Sort
- Merge Sort
- Heap Sort
Sorting based on:
- Revenue
- Quantity
- Rating
- Store
- Product
- Category
- abs()
- sqrt()
- square()
- exp()
- log()
- log10()
- log2()
- sign()
- ceil()
- floor()
- rint()
- modf()
- isnan()
- reshape()
- flatten()
- ravel()
- transpose()
- swapaxes()
- concatenate()
- stack()
- hstack()
- vstack()
- split()
- randint()
- rand()
- randn()
- choice()
- shuffle()
- seed()
Reading CSV files using
- loadtxt()
- genfromtxt()
Saving CSV files using
- savetxt()
Topics Covered
- Missing Values
- Invalid Values
- Mixed Data Types
- UTF-8 Encoding
- Structured Arrays
A complete retail analytics project developed using only NumPy.
- Generate Retail Dataset
- Revenue Analysis
- Discount Analysis
- Customer Rating Analysis
- Store Analysis
- Category Analysis
- City Analysis
- Payment Analysis
- Boolean Indexing
- Searching
- Sorting
- Statistical Analysis
- Array Manipulation
- Automatic CSV Report Generation
Generated Reports
- Top10Stores.csv
- HighDiscountProducts.csv
- BestRatedProducts.csv
- DelhiSales.csv
- ElectronicsSales.csv
- StoreRevenue.csv
Numpy/
│
├── 01_Basics/
├── 02_Mathematical_Functions/
├── 03_Searching_Sorting/
├── 04_Statistics/
├── 05_Array_Manipulation/
├── 06_CSV_Handling/
├── 07_Practice_Questions/
├── 08_MegaMart_Project/
│
├── README.md
├── requirements.txt
└── LICENSE
- Python
- NumPy
Clone the repository
git clone https://github.com/TITAN247/Numpy.gitMove into the repository
cd NumpyInstall dependencies
pip install -r requirements.txtAfter completing this repository, I gained practical experience in:
- Numerical Computing
- Vectorized Programming
- Scientific Computing
- Statistical Analysis
- CSV Data Processing
- Business Analytics
- Data Manipulation
- Array Operations
- Real-world NumPy Applications
✅ NumPy Practice Programs
✅ CSV Handling
✅ Statistics
✅ Searching & Sorting
✅ Array Manipulation
✅ Business Analytics
✅ MegaMart Retail Analytics
- Data Visualization using Matplotlib
- Data Analysis using Pandas
- Machine Learning using Scikit-Learn
- Deep Learning Data Preprocessing
Contributions, suggestions, and improvements are always welcome.
Feel free to fork this repository and submit a pull request.
This project is licensed under the MIT License.
Shivansh Chaurasiya
- GitHub: https://github.com/TITAN247
- LinkedIn: https://www.linkedin.com/in/shivansh-chaurasiya-2345722a9/