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
When the df contains NaN values it reports NaN values, Using np.nanmax(df.values) gave the desired answer.
NaN
np.nanmax(df.values)