python dataframe find max value in column when string code example Example: get max value column pandas max_value_column = df["column_name"].max()