Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you know Python, then trying NumPy is pain.

Because for some reason data scientists have managed to misuse the python syntax. E.g. `np.ogrid[ -200000000:200000000:100j,-500000:500000:100j]` it's completely unexplainable what this does. They have managed to overload index/slice operator and imaginary numbers to produce two arrays.

(Example taken from here https://asecuritysite.com/comms/plot06 )




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: