Hacker News new | ask | show | jobs
Comparing to None in Python and Pandas (sourcery.ai)
4 points by rekahrv 1133 days ago
1 comments

TLDR:

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