if cell is nan set to 1 pandas code example
Example: represent NaN with pandas in python
import pandas as pd
if pd.isnull(float("Nan")):
print("Null Value.")
import pandas as pd
if pd.isnull(float("Nan")):
print("Null Value.")