Login
Remember
Register
Ask a Question
how to create 1D Array ?
+2
votes
asked
Jul 3, 2021
in
NumPy
by
sharadyadav1986
how to create 1D Array ?
create-array-numpy
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jul 3, 2021
by
sharadyadav1986
num=[1,2,3]
num = np.array(num)
print(“1d array : “,num)
...