dataframe NaN -> None

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

原文地址:https://www.cnblogs.com/Tw1st-Fate/p/11653266.html