df = df.where(df.notnull(), None)
pandas将dataframe中的NaN替换成None
最新推荐文章于 2024-05-08 23:33:54 发布
df = df.where(df.notnull(), None)