Numpy পরিচিতি
Numpy ইন্সটলেশন
pip install numpy scipy matplotlib ipython jupyter pandas sympy noseNumpy এ হাতেখড়ি
অ্যারে (Array)
import numpy as np
a = np.array([1, 2, 3]) # Creates a rank 1 array
print (type(a)) # Prints "<class 'numpy.ndarray'>"
print (a.shape) # Prints "(3,)"
print (a[0], a[1], a[2]) # Prints "1 2 3"
a[0] = 5 # Change an element of the array
print(a) # Prints "[5 2 3]"
b = np.array([[1, 2, 3], [4, 5, 6]]) # Create a rank 2 array
print (b.shape) # Prints "(2, 3)"
print (b[0, 0], b[0, 1], b[1, 0]) # Prints "1 2 4"অ্যারে ইনডেক্সিং (Array Indexing)
স্লাইসিং (Slicing)
ইন্টিজার অ্যারে ইন্ডেক্সিং (Integer Array Indexing)
বুলিয়ান এক্সপ্রেশন দিয়ে অ্যারে ইন্ডেক্সিং (Boolean Array Indexing)
ডেটাটাইপ (Datatypes)
**অ্যারে ম্যাথ (Array Math)
বেসিক ম্যাথ
ম্যাট্রিক্স অপারেশন
ভেক্টরের ডট গুণন (Dot Product of vectors)
ম্যাট্রিক্সে ডট গুণন (Dot product of Matrices / Multiplication of Matrices)
ব্রডকাস্টিং (Broadcasting)
ব্রডকাস্টিংয়ের অ্যাপ্লিকেশন
Last updated