Different operating systems and programming languages can have different string representations of NaN:
nan NaN NaN% NAN NaNQ NaNS qNaN sNaN 1.#SNAN 1.#QNAN -1.#IND
I think all three are just comfortable. They are the same.
>>> np.nan nan >>> np.NaN nan >>> np.NAN nan >>>
zhangyangyu
source share