Python Numpy Index Array Matlab Drive Online