Answers for "what is nan in python"

0

python3 is nan

>>> import math
>>> x = float('nan')
>>> math.isnan(x)
True
Posted by: Guest on April-26-2020
0

NaN stand for python

not a number
NaN , standing for not a number, is a numeric data type used to represent any value that is undefined or unpresentable. For example, 0/0 is undefined as a real number and is, therefore, represented by NaN.
Posted by: Guest on April-04-2021

Python Answers by Framework

Browse Popular Code Answers by Language