Skip to content

thejasdev/NumPy---Zero-To-Hero

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NumPy---Zero-To-Hero

A structured learning repository documenting my journey from beginner to advanced in NumPy, covering core concepts, practical examples, and problem-solving using Jupyter Notebooks.

Array Creation in NumPy 🧠

This section covers the fundamental concepts of creating arrays using NumPy, which is the core building block for numerical computing in Python.

📌 Overview

NumPy provides multiple ways to create arrays efficiently, allowing users to work with structured data in various dimensions. Understanding array creation is essential before moving on to advanced topics like indexing, slicing, and reshaping.

📚 Topics Covered

1. Basic Array Creation

  • Creating arrays using np.array()
  • Arrays from lists and nested lists
  • Creating 1D, 2D, and 3D arrays

2. Data Types (dtype)

  • Specifying data types during creation
  • Type conversion
  • Common data types (int, float, bool)

3. Built-in Functions

  • np.zeros()
  • np.ones()
  • np.full()
  • np.empty()

4. Identity & Diagonal Arrays

  • np.eye()
  • np.identity()

5. Range-based Arrays

  • np.arange()
  • np.linspace()
  • np.logspace()

6. Random Array Creation

  • np.random.rand()
  • np.random.randn()
  • np.random.randint()
  • np.random.normal()

7. Shape and Dimensions

  • Creating arrays with specific shapes
  • Understanding dimensions and structure

8. Special Array Patterns

  • Diagonal arrays (np.diag())
  • Triangular matrices (np.tri(), np.triu(), np.tril())

9. Advanced Creation Methods

  • np.asarray()
  • np.fromfunction()
  • np.fromiter()

🛠️ Tools Used

  • Python
  • NumPy
  • Jupyter Notebook
  • Visual Studio Code

🎯 Objective

To build a strong foundation in NumPy array creation techniques, which are essential for data manipulation, scientific computing, and machine learning workflows.

📂 Structure

This folder contains Jupyter Notebooks with:

  • Concept explanations
  • Code examples
  • Practice problems

🚀 Learning Approach

Learn → Practice → Implement → Document → Push to GitHub


This module serves as the first step toward mastering NumPy and building a solid base for data science.

About

A structured learning repository documenting my journey from beginner to advanced in NumPy, covering core concepts, practical examples, and problem-solving using Jupyter Notebooks.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors