Skip to content

Instantly share code, notes, and snippets.

@IndhumathyChelliah
Created July 18, 2020 02:55
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/59515e77b83c5773f71b8f4a027e617d to your computer and use it in GitHub Desktop.
Save IndhumathyChelliah/59515e77b83c5773f71b8f4a027e617d to your computer and use it in GitHub Desktop.
import numpy as np
a=np.array(((1,2,3),(4,5,6)),dtype=complex)
print (a)
'''
Output:
[[1.+0.j 2.+0.j 3.+0.j]
[4.+0.j 5.+0.j 6.+0.j]]
'''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment