Here is my question.
There is a matrix call 'dt'.
What I want to do is make new matrix with same dt[:,0].
Below example will be helpful to understand what I want to do.
ex.
dt = [[0,0,0,0]
[0,0,1,444]
[0,0,2,80]
[0,0,3,5]
[1,0,0,0]
[1,0,1,444]
[1,0,2,80]
[1,0,4,75]
[2,1,2,653]
...
]]
new_matrix_0 =
[[0,0,0,0]
[0,0,1,444]
[0,0,2,80]
[0,0,3,5]]
new_matrix_1 =
[[1,0,0,0]
[1,0,1,444]
[1,0,2,80]
[1,0,4,75]]
I need a code between 'dt' >> 'new_matrix_()'.
Thanks.