Похожие чаты

Suppose I have an array: array1 = array([(0, 4), (1,

6)], dtype=object)

Is there any direct way in numpy to access the first value of each tuple?
i.e. 0 and 1.

1 ответов

8 просмотров

You can use `array1[:,0]`

Похожие вопросы

Карта сайта