Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #63809
| References | <CACwCsY6KBDVkS5jCMh9GyvhHyVgqcAH3YAYnGpMQvfBwexaTcw@mail.gmail.com> <101148D9-DACE-4572-801D-3DDB4A215BF9@gmail.com> <CAPTjJmpHRaMOp0_BcDPQ4ULU69A2K-zRDopT0kDx_vV6-jmZOw@mail.gmail.com> |
|---|---|
| Date | 2014-01-12 22:18 -0500 |
| Subject | Re: efficient way to process data |
| From | Larry Martell <larry.martell@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.5392.1389583110.18130.python-list@python.org> (permalink) |
On Sun, Jan 12, 2014 at 5:18 PM, Chris Angelico <rosuav@gmail.com> wrote: > On Mon, Jan 13, 2014 at 6:53 AM, Petite Abeille > <petite.abeille@gmail.com> wrote: >> On Jan 12, 2014, at 8:23 PM, Larry Martell <larry.martell@gmail.com> wrote: >> >>> AFAIK, there is no way to do this in SQL. >> >> Sounds like a job for window functions (aka analytic functions) [1][2]. > > That's my thought too. I don't think MySQL has them, though, so it's > either going to have to be done in Python, or the database back-end > will need to change. Hard to say which would be harder. Changing the database is not feasible.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: efficient way to process data Larry Martell <larry.martell@gmail.com> - 2014-01-12 22:18 -0500
csiph-web