Answers for "display array of odd rows and even columns in numpy"

0

display array of odd rows and even columns in numpy

>>> x[:, 1::2]
array([[ 2,  4],
       [ 7,  9],
       [12, 14],
       [17, 19]])
Posted by: Guest on June-25-2020

Code answers related to "display array of odd rows and even columns in numpy"

Python Answers by Framework

Browse Popular Code Answers by Language