[Numpy-discussion] fix random.choice for 1.7?
Alan G Isaac
alan.isaac@gmail....
Mon Nov 12 17:36:48 CST 2012
On 11/12/2012 5:46 PM, Nathaniel Smith wrote:
> Want to make a pull request?
Well, I'd be happy to help Sebastien to change the
code, but I'm not a git user.
And I'd have some questions. E.g., with `size=None`,
couldn't we just call Python's random.choice? And for
sampling without replacement, wouldn't it be faster to
just call Python's random.sample (rather than
implement this as currently done)?
Alan
More information about the NumPy-Discussion
mailing list