Question from the Python Machine Learning test

Print the data type of a numpy array

Easy

Consider vec an array created like this :

vec = numpy.array([[1,2,3,4],[5,6,7,8]], dtype='int32')

What will print(vec.dtype) display ?

Author: W3D TeamStatus: PublishedQuestion passed 673 times
Edit
2
Community EvaluationsNo one has reviewed this question yet, be the first!