Table of Contents
NumPy Tutorial
Table of Contents
NumPy Tutorial
NumPy Array in Hindi
What is Ndarray in Hindi
NumPy का main object “ndarray” (N-dimensional Array) है जो एक fast और efficient data structure है। ये एक homogeneous data structure है मतलब इसमे सारे elements same type के होते है।
Creating NumPy Array
NumPy में Array को create करने के लिए array() function का use किया जाता है, इसमे square bracket में data pass करते है तो वो Array return करता है।
One-dimensional Array (1D Array)
NumPy में 1D Array create करने के लिए array() function में single square bracket का use करते है।
Two-dimensional Array (2D Array)
NumPy में 2D Array create करने के लिए array() function में double square bracket का use करते है।
Three-dimensional Array (3D Array)
NumPy में 3D Array create करने के लिए array() function में triple square bracket का use करते है।
Multi-dimensional Array
NumPy में Multi-dimensional Array create करने के लिए array() function में multiple square bracket का use करते है।
Array Attributes
NumPy में कई सारे इसे Attributes होते है जिनका use करके हम किसी Array के information को देख सकते है।
.shape: “shape” attribute किसी Array के shape (number of rows and columns) को बताता है।
.ndim: “ndim” attribute किसी Array के dimension को बताता है।
.size: “size” attribute किसी Array में total number of elements को बताता है।
.dtype: “dtype” attribute किसी Array के data type को बताता है।
.itemsize: “item” attribute किसी Array के element के size (bytes) को बताता है।
.nbytes: “nbytes” attribute किसी Array द्वारा total memory usage को बताता है।
- 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...