Why do these 2 numpy lines not give the same result? Aaargh!
data[range(1,3),range(1,3)].shape -> (2,)
data[1:3,1:3].shape -> (2,2)
I don't want the diagonal!
data[range(1,3),range(1,3)].shape -> (2,)
data[1:3,1:3].shape -> (2,2)
I don't want the diagonal!
Comments