Answers for "You are given an array of shape (3,3). Which numpy function will help you create a 1D vector out of it with shape (9,) ?"

5

how to import numpy array in python

>>> import numpy as np
>>> a = np.array([0, 1, 2, 3])
>>> a
array([0, 1, 2, 3])
Posted by: Guest on April-21-2020

Code answers related to "You are given an array of shape (3,3). Which numpy function will help you create a 1D vector out of it with shape (9,) ?"

Python Answers by Framework

Browse Popular Code Answers by Language