Comparing to None in Python and Pandas

  • TLDR:

    * Falsy values (empty string, empty list) should have the same behavior as None. * Don't use `==` for comparison with None or NaN