Better HN
topnewbestaskshowjobs
Log inSign up

throwaway9930

3 karma · joined Jan 31, 2021 (5y ago) · 1 submissions

Submissions

comment 5y ago · link · parent

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 )