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,)?

i have np.flatten() its showing no object but answer is both ravel and flatten. will u please tell me how flatten is used in numpy

and also please tell how to make jupyter auto complete suggestion it’s not displaying i have pressed tab and also write the command of %config IPCompleter.greedy=True

hey @saini.harsh22 ,
for flatten ,
you just need to make an array , and call flatten on it.

and for the autocompletion part , i can’t say anything like this, as it is more depended your settings.
so you need to have a look at them .

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.