I have an array looks like this (two dimensions):
[[1.]
[1.]
[1.]
[1.]
[1.]
[1.]
[1.]
[0.]
[0.]
[1.]
[1.]
[1.]
[1.]
[1.]
[1.]
[1.]
[1.]
[1.]
[0.]
[1.]
[1.]
[1.]
[1.]
[0.]
[1.]]
How can I change it to: [1 1 1 1 ............1 0 1]
I've been looking for solution for a whole afternoon but still got no idea, can someone give me some hint, thanks.