NumPy Tutorial
Home >> NumPy >> NumPy
Edit Template
NumPy Tutorial
Edit Template

NumPy in Hindi

What is NumPy in Hindi

matplotlib का use हम data visualization के लिए करते हैं, यह एक python library है। इसके help से हम data को graph, chart or plot के form में देख सकते हैं। इसका use data analytics और scientific computation में अक्सर किया जाता है।

How to Install NumPy in Hindi

ये python की library है इसलिए हमारे computer में पहले से python install होना जरूरी है, अब NumPy को install करने के लिए हमें अपने computer में command terminal को open करना है और उसमें pip install numpy लिखकर enter press कर देना है अब कुछ ही time में numpy हमारे computer में install हो जाएगा।

Some Important Features of NumPy in Hindi

Arrays : Python में हम array के लिए list का use करते हैं but NumPy में भी array होता है जो की list से काफी fast होता है।

Mathematical Operation : NumPy में हम addition, subtraction, multiplication, division, etc जैसे mathematical operations easily कर सकते हैं। 

Linear Algebra : NumPy में हम matrices के operations को भी कर सकते हैं। 

Random Number Generation : NumPy एक function होता है, जिसके help से हम कोई भी random number generate कर सकते हैं। 

Integration : NumPy का use हम SciPy, Matplotlib जैसे libraries के साथ आसानी कर सकते है।

Basic Example of NumPy

🐍
numpy.py
Copy to clipboard
import numpy as np

# List se NumPy array banate hain
arr = np.array([1, 2, 3, 4, 5])

print("NumPy Array:", arr)
print("Array Type:", type(arr))
print("Dimension of Array:", arr.ndim)
print("Shape of Array:", arr.shape)

import : python library को अपने program मे use करने के लिए उसे अपने program मे import करना होता है, इसके लिए “import” use करते है। जैसा की इस example code के 1st line मे हमने NumPy को import किया है import numpy as np
यहाँ पर हमने “as” का use करके matplotlib को एक short form दिया है np,इससे होता ये है की अब जहां भी हमे NumPy लिखने की जरूरत होगी तो वह हम सिर्फ np लिखेंगे हमारा काम हो जाएगा । आप np के जगह कुछ भी ले सकते है but वो meaningful रहे, आम तौर पर हम np का ही use करते है ।

Add a comment...

  • All Posts
  • Artificial Intelligence
  • Computer Fundamentals
  • Computer Networks
  • Data Analytics
  • Data Science
  • DBMS
  • Deep Learning
  • Digital Fundamentals
  • 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
Python Inheritance

Table of Contents All Chapters 1. Inheritance 2. Concepts of Inheritance 3. Types of Inheritance      3.1. Single Inheritance...

Python Function

Table of Contents All Chapters 1. Python Function 2. Define Function 3. Function Arguments 4. Function Parameters 5. Local and...

Python Dictionary

Table of Contents All Chapters 1. Python Dictionary 2. Access Dictionary items 3. Change Dictionary items 4. Add items in...

Python Set

Table of Contents All Chapters 1. Python Set 2. Iterate Set items 3. Set Methods      3.1. Add items...

Python Tuple

Table of Contents All Chapters 1. Python Tuple 2. Access Tuple Items 3. Update Tuple 4. Iterate Tuple Items 5....

Python List

Table of Contents All Chapters 1. Python List 2. Nested List 3. Range List 4. List Indexing 5. list Methods...

Python String

Table of Contents All Chapters 1. Python String 2. String Indexing 3. String Slicing 4. String Concatenation 5. String Formatting...

Python Loops

Table of Contents All Chapters 1. Python Loops 2. While Loop      2.1. Nested While Loop 3. For Loop...

Edit Template
Scroll to Top