Question from the Python Machine Learning test

How to get the size of an array in scikit-learn

Hard

Consider vec an array with the instruction

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

What will the following instruction display

print(vec.itemsize)

?

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