Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

print dtype of numpy array

import numpy as np

# Example of 1D array 
array = np.linspace(3,40,40)

# print the array data type
print(array.dtype)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #print #dtype #numpy #array
ADD COMMENT
Topic
Name
5+7 =