Since one column of my pandas dataframe has nan value, so when I want to get the max value of that column, it just return error.
nan
>>> d
You can use Series.dropna.
res = df.iloc[:, 1].dropna().max()