DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to get the type of numpy array
x array([[0, 1], [2, 3]]) >>> x.dtype dtype('int32') >>> type(x.dtype) <type 'numpy.dtype'>
Source by numpy.org #
PREVIOUS
NEXT
Tagged:
#type
#numpy
#array
ADD COMMENT
Topic
COMMENT
Name
5+7 =
Submit