pandas .max column returns inf code example Example: get max value column pandas max_value_column = df["column_name"].max()