Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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