Calculate the cumulative sum of the array [1,2,3,4,5] using np.cumsum().py
Calculate the mean and standard deviation of the array [1,2,3,4,5] using np.mean() and np.std().py
Compute the sum of all elements in the array [1,2,3,4,5] using np.sum().py
Compute the sum of the 2D array [[1,2],[3,4],[5,6]] along each column.py
Compute the transpose of a matrix a = [[1,2],[3,4]] using np.transpose().py
Convert the Python list [3,6,9] to a NumPy array and perform element-wise multiplication by 3. Print the result.py
Create a 1D NumPy array of 10 evenly spaced values between 1 and 100 using np.linspace(). Print the array.py
Create a 1D array of size 10 filled with random integers between 1 and 100 using np.random.randint(). Print the array.py
Create a 2D NumPy array from the Python list [[1,2],[3,4],[5,6]] and print it.py
Create a 2D array a = [[1,2],[3,4]] and access the element at row 1, column 0. Print the element.py
Create a 3x3 identity matrix using np.eye().py
Create a 3x3 matrix filled with zeros and then update it by adding a scalar value 5.py
Create a 3x3 matrix of zeros using NumPy. Print the matrix.py
Create a 4x4 matrix of random integers between 1 and 100 using np.random.randint(). Find and print the maximum and minimum values in the matrix.py
Create a 4x4 matrix of random integers between 1 and 100 using np.random.randint().py
Create a NumPy array filled with ones, with shape (4,2). Print the array.py
Create a NumPy array from the Python list [5,10,15,20,25]. Print the array.py
Create two arrays a = [1,2,3] and b = [4,5,6], and compute their dot product using np.dot().py
Demonstrate broadcasting by adding a 1D array a = [1,2,3] to a 2D array b = [[4,5,6],[7,8,9]].py
Generate a 3x3 matrix of random numbers between 0 and 1 using np.random.rand().py
Generate an array of shape (2, 3) filled with zeros and then update it by adding 10 to every element.py
Perform element-wise addition on two NumPy arrays a = [1,2,3] and b = [4,5,6].py
Perform element-wise multiplication of two arrays a = [1,2,3] and b = [4,5,6].py
Perform matrix multiplication between two arrays a = [[1,2],[3,4]] and b = [[5,6],[7,8]] using np.dot().py
Use boolean indexing to filter out all values greater than 5 from arr = [1,2,3,4,5,6,7,8,9,10].py
Use boolean indexing to filter out the even numbers from the array [1,2,3,4,5,6].py
Use np.arange() to create a NumPy array with values from 10 to 100, with a step of 10. Print the array.py
Use np.split() to divide the array [1,2,3,4,5,6] into three equal parts.py
Failed to load latest commit information.
Latest commit Cannot retrieve latest commit at this time.Folders and files Name Name Last commit message
Last commit date
parent directory
View all files
You can’t perform that action at this time.
Failed to load latest commit information.