Stay With us
3 new comments


Help & Settings

Get values from a numpy 2d array in python

I am new to python and using the numpy. I have created a 2d array in python which contains the data of person. Now i want to get data of second and third person from the array. But i can not use old method to get data from the 2D array as i get data from single array. Here is my array

data = array([[ 1.73, 1.68, 1.71, 1.89, 1.79],
              [ 65.4, 59.2, 63.6, 88.4, 68.7]])

How can i get data from second and third person.

(0) Replies

Please login or register to Comment or Answer