Skip to content

TITAN247/Numpy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 NumPy - Complete Learning Repository

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.


📚 Topics Covered

📌 NumPy Basics

  • Introduction to NumPy
  • Creating Arrays
  • Array Attributes
  • Data Types
  • Dimensions
  • Shape
  • Size
  • Itemsize
  • Memory Usage

🔢 Indexing & Slicing

  • 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

➕ Mathematical Operations

  • Arithmetic Operations
  • Element-wise Operations
  • Broadcasting
  • Dot Product
  • Matrix Multiplication
  • Power
  • Square Root
  • Exponential Functions
  • Trigonometric Functions

📊 Statistical Functions

  • Mean
  • Median
  • Mode
  • Standard Deviation
  • Variance
  • Sum
  • Minimum
  • Maximum
  • Percentile
  • Quantile

🔍 Searching Functions

Implemented using:

  • np.where()
  • np.nonzero()
  • np.argwhere()
  • np.argmax()
  • np.argmin()
  • np.count_nonzero()

🔃 Sorting Functions

Implemented:

  • np.sort()
  • np.argsort()
  • Quick Sort
  • Merge Sort
  • Heap Sort

Sorting based on:

  • Revenue
  • Quantity
  • Rating
  • Store
  • Product
  • Category

📈 Universal Functions (ufuncs)

  • abs()
  • sqrt()
  • square()
  • exp()
  • log()
  • log10()
  • log2()
  • sign()
  • ceil()
  • floor()
  • rint()
  • modf()
  • isnan()

🔧 Array Manipulation

  • reshape()
  • flatten()
  • ravel()
  • transpose()
  • swapaxes()
  • concatenate()
  • stack()
  • hstack()
  • vstack()
  • split()

🎲 Random Module

  • randint()
  • rand()
  • randn()
  • choice()
  • shuffle()
  • seed()

📂 CSV Handling

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

📊 Data Analysis Projects

🛒 MegaMart Retail Analytics

A complete retail analytics project developed using only NumPy.

Features

  • 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

📂 Repository Structure

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

💻 Technologies Used

  • Python
  • NumPy

▶️ Installation

Clone the repository

git clone https://github.com/TITAN247/Numpy.git

Move into the repository

cd Numpy

Install dependencies

pip install -r requirements.txt

🎯 Learning Outcomes

After 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

📸 Projects Included

✅ NumPy Practice Programs

✅ CSV Handling

✅ Statistics

✅ Searching & Sorting

✅ Array Manipulation

✅ Business Analytics

✅ MegaMart Retail Analytics


⭐ Future Improvements

  • Data Visualization using Matplotlib
  • Data Analysis using Pandas
  • Machine Learning using Scikit-Learn
  • Deep Learning Data Preprocessing

🤝 Contributions

Contributions, suggestions, and improvements are always welcome.

Feel free to fork this repository and submit a pull request.


📄 License

This project is licensed under the MIT License.


👨‍💻 Author

Shivansh Chaurasiya


⭐ If you found this repository helpful, consider giving it a star!

About

A complete NumPy learning repository containing fundamentals, mathematical functions, searching, sorting, statistics, CSV handling, array manipulation, practice problems, and a real-world MegaMart Retail Analytics project built entirely with NumPy.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages