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.
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.