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?
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?
>>> numpy.nan is numpy.NaN is numpy.NAN
True
It's just convenient. They're exactly the same.