Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #66565 > unrolled thread
| Started by | Tim Chase <python.list@tim.thechases.com> |
|---|---|
| First post | 2014-02-16 13:58 -0600 |
| Last post | 2014-02-16 13:58 -0600 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: random.sample with large weighted sample-sets? [SOLVED] Tim Chase <python.list@tim.thechases.com> - 2014-02-16 13:58 -0600
| From | Tim Chase <python.list@tim.thechases.com> |
|---|---|
| Date | 2014-02-16 13:58 -0600 |
| Subject | Re: random.sample with large weighted sample-sets? [SOLVED] |
| Message-ID | <mailman.7071.1392580651.18130.python-list@python.org> |
On 2014-02-16 14:47, Terry Reedy wrote: > > 2) the data has to be sorted for bisect to work > > cumulative sums are automatically sorted. Ah, that they were *cumulative* was the key that I missed in my understanding. It makes sense now and works like a charm. Thanks to all who offered a hand in this thread. -tkc
Back to top | Article view | comp.lang.python
csiph-web