Robert Kern wrote:
That's just incorrect. You shouldn't use (binary) floats for many
*accounting* purposes, but for many financial/econometric analyses, floats
are de rigeur and work much better than decimals
There's a certain accounting package I work with that *does*
use floats -- binary
On Sun, Aug 21, 2011 at 1:37 AM, Gregory Ewing
greg.ew...@canterbury.ac.nz wrote:
There's a certain accounting package I work with that *does*
use floats -- binary ones -- for accounting purposes, and
somehow manages to get away with it. Not something I would
recommend trying at home, though.
Folks,
What might be a good replacement for the shelve module, but one that
can handle a few gigs of data. I'm doing some calculations on daily
stock prices and the result is a nested list like:
[[date_1, floating result 1],
[date_2, floating result 2],
...
[date_n, floating result n]]
However
On Fri, Aug 19, 2011 at 11:31 AM, Forafo San ppv.g...@gmail.com wrote:
Folks,
What might be a good replacement for the shelve module, but one that
can handle a few gigs of data. I'm doing some calculations on daily
stock prices and the result is a nested list like:
For what you're doing, I
On 19/08/11 17:31, Forafo San wrote:
Folks,
What might be a good replacement for the shelve module, but one that
can handle a few gigs of data. I'm doing some calculations on daily
stock prices and the result is a nested list like:
[[date_1, floating result 1],
[date_2, floating result 2
On Aug 19, 11:54 am, Thomas Jollans t...@jollybox.de wrote:
On 19/08/11 17:31, Forafo San wrote:
Folks,
What might be a good replacement for the shelve module, but one that
can handle a few gigs of data. I'm doing some calculations on daily
stock prices and the result is a nested
You might check one of many binary encoders (like Avro, Thrift ...).
The other option is to use a database, sqlite3 is pretty fast (if you schema is
fixed). Otherwise you can look at some NoSQL ones (like MongoDB).
--
http://mail.python.org/mailman/listinfo/python-list
On 8/19/11 10:49 AM, Ken Watford wrote:
On Fri, Aug 19, 2011 at 11:31 AM, Forafo Sanppv.g...@gmail.com wrote:
Folks,
What might be a good replacement for the shelve module, but one that
can handle a few gigs of data. I'm doing some calculations on daily
stock prices and the result is a nested
Forafo San wrote:
Folks,
What might be a good replacement for the shelve module, but one that
can handle a few gigs of data. I'm doing some calculations on daily
stock prices and the result is a nested list like:
[[date_1, floating result 1],
[date_2, floating result 2],
...
[date_n
On 8/19/11 3:36 PM, Steven D'Aprano wrote:
By the way, you know that you should never, ever use floats for currency,
right?
That's just incorrect. You shouldn't use (binary) floats for many *accounting*
purposes, but for many financial/econometric analyses, floats are de rigeur and
work
On Fri, Aug 19, 2011 at 8:31 AM, Forafo San ppv.g...@gmail.com wrote:
Folks,
What might be a good replacement for the shelve module, but one that
can handle a few gigs of data. I'm doing some calculations on daily
stock prices and the result is a nested list like:
[[date_1, floating result
Robert Kern wrote:
On 8/19/11 3:36 PM, Steven D'Aprano wrote:
By the way, you know that you should never, ever use floats for currency,
right?
That's just incorrect. You shouldn't use (binary) floats for many
*accounting* purposes, but for many financial/econometric analyses, floats
are
12 matches
Mail list logo