When using df.fillna(), which value/function does it use to determine if a value is NaN? NaT, for instance, does not get filled but pd.isnull() captures that.
Furthermore, is there a way to parse a function to fillna which determines if a value is NaN or not e.g
df.fillna(na_function = pd.isnull,value= np.nan)
EDIT (added example):
df=pd.DataFrame(
[[0,"2018-02-10",np.nan],
     [None,NaT,0]])
df.isnull()
#[[False,False,True]
#[True,True,False]]
#
df.fillna(np.nan,inplace=True)
#[[0,"2018-02-10",np.nan]
#[np.nan,NaT,0]]
#
I want it to fill all NaN/Null values where pd.isnull()==True including NaT.
 
     
     
     
    