Add hint that NaN != NaN
Not a number hast the counterintuitive behaviour that it is not equal to itself, so when checking for it, using ==
will not work.
Point out that there is the isna()
-method to deal with this.
Not a number hast the counterintuitive behaviour that it is not equal to itself, so when checking for it, using ==
will not work.
Point out that there is the isna()
-method to deal with this.