Following is the given numpy array return array of odd rows and even columns code example
Example: display array of odd rows and even columns in numpy
>>> x[:, 1::2]
array([[ 2, 4],
[ 7, 9],
[12, 14],
[17, 19]])
>>> x[:, 1::2]
array([[ 2, 4],
[ 7, 9],
[12, 14],
[17, 19]])