Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

numpy isinstance

>>> import numpy as np
a = np.array([1, 2, 3])
>>> type(a)
<type 'numpy.ndarray'>
>>> type(a).__module__
'numpy'
>>> type(a).__module__ == np.__name__
True
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #numpy #isinstance
ADD COMMENT
Topic
Name
2+4 =