本文共 652 字,大约阅读时间需要 2 分钟。
Detect missing values.
Return a boolean same-sized object indicating if the values are NA. NA values, such as None
or numpy.NaN
, gets mapped to True values. Everything else gets mapped to False values.
Characters such as empty strings ''
or numpy.inf
are not considered NA values (unless you set pandas.options.mode.use_inf_as_na=True)
Detect missing values. same like upon.
In python, they are exactly the same thing, same docs and same code.
The reason why have two methods withe different names do the same thing, because pandas’s DataFrame are based on R’s DataFrame, In R na and null are two seperate things. refer to 《》
转载地址:http://ndge.baihongyu.com/