My Blog
Ans. You can create a 1-D array in numpy as follows:
x = np.array([1,2,3,4])
Where numpy is imported as np
Posted
in
by
umairrouf
Tags:
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
Website
Save my name, email, and website in this browser for the next time I comment.
Δ
Leave a Reply