Skip to content

Instantly share code, notes, and snippets.

@IndhumathyChelliah
Created January 19, 2021 06:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IndhumathyChelliah/4f683c9f1b7bebc49e093ff83138d3f1 to your computer and use it in GitHub Desktop.
Save IndhumathyChelliah/4f683c9f1b7bebc49e093ff83138d3f1 to your computer and use it in GitHub Desktop.
m1=np.array([[1,2,3],[4,5,6],[7,8,9]])
print (m1)
#Output:
[[1 2 3]
[4 5 6]
[7 8 9]]
print (type(m1))
#Output:<class 'numpy.ndarray'>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment