set nan column pandas code example
Example 1: python pandas replace nan with null
df.fillna('', inplace=True)
Example 2: represent NaN with pandas in python
import pandas as pd
if pd.isnull(float("Nan")):
print("Null Value.")
df.fillna('', inplace=True)
import pandas as pd
if pd.isnull(float("Nan")):
print("Null Value.")