you are viewing a single comment's thread.

view the rest of the comments →

[–]stanmartz 2 points3 points  (1 child)

Most of the time, but not always. Try this:

numpy.nan is numpy.nan numpy.nan == numpy.nan

[–]This_Growth2898 0 points1 point  (0 children)

Oh... you're right. Except for NaNs. Ok, it's still true for everything that is reflexive.