[Numpy-discussion] setting decimal accuracy in array operations (scikits.timeseries)
Marco Tuckner
marcotuckner@public-files...
Wed Mar 3 14:09:21 CST 2010
Hello,
am using the scikit.timeseries to convert a hourly timeseries to a lower
frequency unsing the appropriate function [1].
When I compare the result to the values calculated with a Pivot table in
Excel there is a difference in the values which reaches quite high
values in the total sum of all monthly values.
I found out that the differnec arises from different decimal settings:
In Python the numbers show:
12.88888888
whereas in Excel I see:
12.8888888888888
The difference due to the different decimals is small for single values
and accumulates to a 2-digit number for the total of all values.
* Why do these differences arise?
* What can I do to achive comparable values?
Thanks in advance for any hint,
Marco
[1]
http://pytseries.sourceforge.net/generated/scikits.timeseries.convert.html
P.S.: Sorry if this is a numpy question but as I was using the scikit I
though this is the right forum.
More information about the NumPy-Discussion
mailing list