|
|
Subscribe / Log in / New account

Revisiting NaNs in Python

Revisiting NaNs in Python

[Development] Posted Sep 15, 2021 22:16 UTC (Wed) by jake

Back in January 2020, we looked at some oddities in Python's handling of Not a Number (NaN) values in its statistics module. The conversation went quiet after that, but it has been revived recently with an eye toward fixing the problems that were reported. As detailed in that earlier article, NaNs are rather strange beasts in the floating-point universe, so figuring out how best to deal with their presence is less straightforward than it might seem.

Full Story (comments: 19)


Copyright © 2021, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds