I am trying to get the max value from a panda dataframe as whole. I am not interested in what row or column it came from. I am just interested in a single max value within t
For the max, check the previous answer... For the max of the values use e.g.:
val_cols = [c for c in df.columns if c.startswith('val')] print df[val_cols].max()