import pandas as pd

# create a sample DataFrame
df = pd.DataFrame({'A': [1, 2, 3], 
        'B': [4, 5, 6], 
        'C': [3, 5, 2]})

# column with the maximum value in each row
max_cols = df.idxmax(axis=1)

# count the occurrences of each column
max_counts = max_cols.value_counts()

# column with the highest number of row-wise max values
max_col = max_counts.idxmax()

print("Max Value Column: ",
 max_col)