Numpy take part of matrix