Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

specify dtype when creating array

x = np.array( [1.0,2.1], dtype=float)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #dtype #creating #array
ADD COMMENT
Topic
Name
8+1 =