[Numpy-discussion] Smart way to do this?