Jul 4 in NumPy
Q: What is 2d indexing? define one ex : num = np.array([1,2,3],[4,5,6],[7,8,9])

1 Answer

0 votes
Jul 4

num = np.array([[1,2,3],[4,5,6],[7,8,9]]) #double bracket here for 2d array

print(‘\n my 2d array : ‘,num)

Related questions

+1 vote
Jan 20, 2020 in Mathematics
0 votes
Jan 31, 2020 in Other
...