Pandas isna() and isnull(), what is the difference?

isnull is an alias for isna. Literally in the code source of pandas:

isnull = isna

Indeed:

>>> pd.isnull
<function isna at 0x7fb4c5cefc80>

So I would recommend using isna.

原文地址:https://www.cnblogs.com/andy-0212/p/10056879.html