I'm not sure how you're going to fix this given the data science tools are in Python. Are you gonna implement a half-broken 20% of numpy/scipy for a one-off program and then try to port?
These libraries hide a lot of complexity and implementing even a few operators is a project.