Comparing to None in Python and Pandas Posted by rekahrv on Friday May 19, 2023 @07:25AM from the sourcery.ai dept. https://sourcery.ai/blog/python-pandas-compare-to-none/ ( 1 comment | 3 points | on HN )
* Falsy values (empty string, empty list) should have the same behavior as None. * Don't use `==` for comparison with None or NaN