Table of Contents
NumPy Tutorial
Table of Contents
NumPy Tutorial
NumPy Array Indexing Slicing in Hindi
1D Array Indexing
1D Array में Indexing बिल्कुल python list की तरह होती है, index 0 से start होता है और negative index -1 से start होता है जो array का last element होता है।
हम एक साथ multiple elements को access करने के लिए multiple index भी दे सकते है।
हम condition के basis पर filtering (elements access) कर सकते है।
2D Array Indexing
2D Array Indexing में हम row और column दोनों के index number को देते है बाकी इसमे भी index 0 से start होता है और negative index -1 से start होता है जो array का last element होता है।
3D Array Indexing
3D Array Indexing में हम row और column के साथ depth के भी index number को देते है बाकी इसमे भी index 0 से start होता है और negative index -1 से start होता है जो array का last element होता है।
1D Array Slicing
1D Array की slicing बिल्कुल python list जैसे होती है जिसमे 3 arguments दिए जाते है, “start” (जिसका by default value 0 index होता है), “end” (जिसका by default value -1 index होता है) और “stap” (जिसका by default value 1 होता है)
2D Array Slicing
2D Array की slicing भी 1D Array जैसा ही होता है but इसमे हमे “start” और “end” में row & column दोनों का index दिया जाता है।
3D Array Slicing
3D Array की slicing करने के लिए हम “start”, “end” के साथ “stap” भी देते है जो की column को slice करता है इसका general syntax “array[depth_slice, row_slice, column_slice]” होता है।
- All Posts
- Artificial Intelligence
- Computer Fundamentals
- Computer Networks
- Data Analytics
- Data Science
- DBMS
- Deep Learning
- Digital Electronics
- DSA with Python
- Excel
- Exercise
- Git & Github
- Machine Learning
- Matplotlib
- Natural Language Processing
- NumPy
- Operating System
- Pandas-s
- Power BI
- Python Tutorial
- Scikit-learn
- Seaborn
- SQL & MySQL

Table of Contents All Chapters 1. Personal Area Network 2. Local Area Network 3. Campus Area Network 4. Metropolitan Area...

Table of Contents All Chapters 1. Data Communication 2. Types of Data Communication 2.1. Simplex 2.2....

Table of Contents All Chapters 1. Special Logic Gate 2. XOR Gate 2.1. XOR Gate Truth Table 3....

Table of Contents All Chapters 1. Universal Logic Gates 2. NOR Gate 2.1. NOR Gate Truth Table 3....

Table of Contents All Chapters 1. Logic Gate 2. AND Gate 2.1. AND Gate Truth Table 3. OR...

Table of Contents All Chapters 1. Simplification 2. Simplification using Boolean Algebra Theorems 3. Simplification using K-map Digital Electronics...

Table of Contents All Chapters 1. Identity Laws 2. Null Laws 3. Domination Laws 4. Idempotent Laws 5. Complement Laws...