I want to append a second column to an ndarray, containing the opposite binary value.
Take this ndarray of n rows and 1 column, containing binary values:
[[0]
[1]
[0]
[1]]
I want to have a for loop that yields this output:
[[0,1]
[1,0]
[0,1]
[1,0]]
Accessing the nested ndarray, adding the opposite: either 1 or 0.
Note: append(), insert() etc. do not work as this is a multi-dimensional array. Not a list (hence many [])