Programming/Python | Posted by 알 수 없는 사용자 2009. 1. 29. 22:23

create array in numpy

array ( sequence, dtype = None, copy = True, order = None, subok = True, ndmin=True )
>>> from numpy import *
>>> a = array ( [ 1, 2, 3 ], dtype = float )
>>> a
array ( [ 1., 2., 3. ] )