I have an array in python which looks like:
Edit: Sorry, the data looks like follows:
1. [array([[[23, 2]]]), array([[[21, 2]],
[[21, 3]],
[[21, 4]],
[[22, 4]],
[[23, 4]],
[[22, 4]],
[[21, 3]]])]
2. [array([[[28, 26]],
[[28, 27]],
[[28, 28]],
[[28, 29]],
[[28, 30]],
[[29, 30]],
[[30, 30]],
[[31, 30]],
[[31, 29]],
[[31, 28]],
[[31, 27]],
[[30, 26]],
[[29, 26]]])]
And after using print array_name[0] it looks like this:
1. [[[23 2]]]
2. [[[28 26]]
[[28 27]]
[[28 28]]
[[28 29]]
[[28 30]]
[[29 30]]
[[30 30]]
[[31 30]]
[[31 29]]
[[31 28]]
[[31 27]]
[[30 26]]
[[29 26]]]
Now I would like to read only the first part, i.e. [23 2] and [28 26]. How do it do that?
The list is divided into multiple arrays.