Skip to content

Instantly share code, notes, and snippets.

@IndhumathyChelliah
Created January 19, 2021 06:11
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/2697e386e097df8fa2f920c2c8651848 to your computer and use it in GitHub Desktop.
Save IndhumathyChelliah/2697e386e097df8fa2f920c2c8651848 to your computer and use it in GitHub Desktop.
import numpy as np
a1=np.linspace(1,10,6).reshape(2,3)
print (a1)
#Output:
[[ 1. 2.8 4.6]
[ 6.4 8.2 10. ]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment