PANDAS Dapatkan indeks nilai maks di kolom
#use this to get the index of the max value of a column
max_index = column.idxmax()
Comfortable Cardinal
#use this to get the index of the max value of a column
max_index = column.idxmax()
max_value_column = df["column_name"].max()
max_value = column.max()
# applying idxmax() function.
df.idxmax(axis = 0)