Ensuring that row,col assigmnents to numpy array are ints