PYTHON PROGRAMMING

NaN Values in the Python Standard Library

NaN means Not-a-Number. You can use it in numerical libraries — but also in the Python standard library.

Marcin Kozak
Towards Data Science
11 min readOct 7, 2023

--

Photo by cyrus gomez on Unsplash

NaN stands for Not-a-Number. Thus, a NaN object represents what this very name conveys — something that isn’t a number. It can be a missing value but also a…

--

--

A full professor, interdisciplinary researcher, data scientist, statistician, Python, R and Go developer, open-source contributor — and a devoted writer