Jul-01-2017, 12:44 PM
Python novice.
I am using the Canopy Python editor.
I cannot get the arrange command to work.
----------------------------------------
import numpy as np
pp=np.arrange(10)
pp=np.arrange(1,10)
pp=np.arrange(1,10,1)
all commands give error:
AttributeError: 'module' object has no attribute 'arrange'
Tried many other combinations for argument, no luck.
I am using the Canopy Python editor.
I cannot get the arrange command to work.
----------------------------------------
import numpy as np
pp=np.arrange(10)
pp=np.arrange(1,10)
pp=np.arrange(1,10,1)
all commands give error:
AttributeError: 'module' object has no attribute 'arrange'
Tried many other combinations for argument, no luck.