Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Help us collect modern Python NumPy code solutions.
"Generate random array" (python-numpy)"
Ok - but what dimension? size/length? what range? sample from what distribution? only unique values? etc.
Many of these problems have "native" one-liner numpy solutions which are trivial to find (basically just read the documentation).
There are no comments on this comment yet.
"Generate random array" (python-numpy)"
Ok - but what dimension? size/length? what range? sample from what distribution? only unique values? etc.
Many of these problems have "native" one-liner numpy solutions which are trivial to find (basically just read the documentation).