filmov
tv
Python - How to Check That Value is Not NaN or Infinity

Показать описание
#Python #Shorts
To check that the value is not NaN, infinity, or negative infinity you can use the "isfinite" function. Note that 0 is a finite number here :)
-------------------------------------------------------------------------------------
Links:
To check that the value is not NaN, infinity, or negative infinity you can use the "isfinite" function. Note that 0 is a finite number here :)
-------------------------------------------------------------------------------------
Links: