DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
display array of odd rows and even columns in numpy
>>> x[:, 1::2] array([[ 2, 4], [ 7, 9], [12, 14], [17, 19]])
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#display
#array
#odd
#rows
#columns
#numpy
ADD COMMENT
Topic
COMMENT
Name
3+5 =
Submit