python – Pandas isna()和isnull(),有什么区别?
发布时间:2020-12-16 23:37:02 所属栏目:Python 来源:网络整理
导读:熊猫有isna()和isnull().我通常使用isnull()来检测缺失值并且从未遇到过这种情况,因此我不得不使用其他方法. 那么,何时使用isna()? 解决方法 isnull是isna的别名.直译在 code source of pandas: isnull = isna 确实: pd.isnullfunction isna at 0x7fb4c5c
熊猫有isna()和isnull().我通常使用isnull()来检测缺失值并且从未遇到过这种情况,因此我不得不使用其他方法.
那么,何时使用isna()? 解决方法
isnull是isna的别名.直译在
code source of pandas:
isnull = isna 确实: >>> pd.isnull <function isna at 0x7fb4c5cefc80> 所以我建议使用isna. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |