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.

posted @ 2018-12-03 09:55  andy_0212  阅读(1344)  评论(0编辑  收藏  举报