Question from the Python Machine Learning test

Print the data type of a numpy array

Medium

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 637 times
Edit
2
Community EvaluationsNo one has reviewed this question yet, be the first!