On 18/02/2019 23:24, Avi Gross wrote:
Ben asked:
Who says that the “correct spelling in python is all lower case "nan"”?
Fair enough. Except for reserved words in the language, all we have is hints of
what the designers used. The reality is that whoever codes the __str__ and/or
__repr__ chos
1 NaN -inf
2 2.00 NaN
3 NaN 2.00
4 3.00 NaN
5 NaN 1.00
I think it is time for me stop talking about what is not. 😉
-Original Message-
From: Python-list On
Behalf Of Ben Finney
Sent: Monday, Feb
"Avi Gross" writes:
> It is about the recent discussion about the concept and word "nan" as used
> in python and elsewhere. As noted, the correct spelling in python is all
> lower case as in "nan" with a minor exception that creating a nan using
> float(string) allows any combination of cases suc
cate there is no one totally obvious way.
So when people wonder why python does things in a way they are not seeing as
right, they need to wonder if dropping some preconceptions may let them
learn what the language DOES and adjust rather than fight it. Don't let the
NaNny state dictate what mus