I have a question about how to select a column of a matrix in python.
For example:
matrix =[[1,4,3,2],
[2,3,1,4],
[4,1,2,3],
[3,4,1,2]]
if I want to select the first row, I can just type
print matrix[0][:]
and it gives me [1,4,3,2]. But how can I get the first column [1,2,4,3]? I tried
print matrix[:][0]
but it still gives me [1,4,3,2]