Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

np.zeros data type not understood

import numpy as np
dim = 3 # number of entries
shp = (dim, 1) # shape tuple
x = np.zeros(shp) # second argument 'dtype' is not used, default is 'float'
print(x)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #data #type #understood
ADD COMMENT
Topic
Name
8+7 =