[Peck, Jon]
> In choosing a way to represent a value of "no information" for a
> float, would it be better to use NaN or None? None has the advantage
> of standard behavior across platforms, but NaN seems to propagate more
> easily – at least on Windows. [...]
What I do for these things is crea
In choosing a way to represent a value of
"no information" for a float, would it be better to use NaN or None? None has the advantage of standard behavior
across platforms, but NaN seems to propagate
more easily – at least on Windows.
For example,
NaN+1 = NaN
but
None+1
raises an e