In numpy there are nan, NaN and NAN. What's the sense of having all three, do they differ or any of these can be used interchangeably?
nan
NaN
NAN
>>> numpy.nan is numpy.NaN is numpy.NAN True
It's just convenient. They're exactly the same.
2.1m questions
2.1m answers
60 comments
57.0k users