The Python Oracle

Is it possible to set a number to NaN or infinity?

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Life in a Drop

--

Chapters
00:00 Question
00:29 Accepted answer (Score 301)
00:44 Answer 2 (Score 83)
00:59 Answer 3 (Score 54)
05:45 Answer 4 (Score 2)
06:16 Thank you

--

Full question
https://stackoverflow.com/questions/5438...

Answer 1 links:
[numpy]: https://numpy.org/

Answer 2 links:
[pandas.isna]: https://pandas.pydata.org/pandas-docs/st...
[pandas.isnull]: https://pandas.pydata.org/pandas-docs/st...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #numeric #nan #infinite

#avk47