Google News
logo
NumPy - Interview Questions
How can you identify the datatype of a given NumPy array?
The following sequence of codes to identify the datatype of a NumPy array. 
 
print(‘\n data type num 1 ‘,num.dtype)
 
print(‘\n data type num 2 ‘,num2.dtype)
 
print(‘\n data type num 3 ‘,num3.dtype)
Advertisement