finished numpyification