Discussion:
[Numpy-discussion] weighted random choice in Python
Alan Isaac
2016-08-15 19:04:01 UTC
Permalink
It seems that there may soon be movement on this enhancement request:
http://bugs.python.org/issue18844
The API is currently under discussion.
If this decision might interact with NumPy in any way,
it would be good to have that documented now.
(See Raymond Hettinger's comment today.)

Cheers,
Alan Isaac
Ralf Gommers
2016-08-16 08:06:32 UTC
Permalink
Post by Alan Isaac
http://bugs.python.org/issue18844
The API is currently under discussion.
If this decision might interact with NumPy in any way,
it would be good to have that documented now.
(See Raymond Hettinger's comment today.)
Doesn't look like it interacts with numpy.random. The whole enhancement
request doesn't look very interesting imho.

Ralf
Alan Isaac
2016-08-16 12:52:07 UTC
Permalink
The whole enhancement request doesn't look very interesting imho.
Because the functionality is already in NumPy,
or because it is easily user-written?

Alan

Loading...