DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
check if numpy array is 1d
>>> a = np.array([[1, 2], [3, 4]]) >>> a.ndim == 1 False
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#check
#numpy
#array
ADD COMMENT
Topic
COMMENT
Name
6+3 =
Submit