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