Skip to content

Instantly share code, notes, and snippets.

@Robofied
Created February 14, 2019 16:15
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 Robofied/fb9741ef4c3d6ad9c31f8a1600f9c8f3 to your computer and use it in GitHub Desktop.
Save Robofied/fb9741ef4c3d6ad9c31f8a1600f9c8f3 to your computer and use it in GitHub Desktop.
Numpy
c = np.array([[1,2] , [3,4]])
print(c)
#[Output]:
#[[1 2]
# [3 4]]
print(c.shape)
#[Output]:
#(2, 2)
print(c.dtype)
#[Output]:
#int32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment