dataframe NaN -> None

 data.where(data.notnull(), None)

Guess you like

Origin www.cnblogs.com/Tw1st-Fate/p/11653266.html