pandas find max code example
Example 1: pandas get index of max value in column
#use this to get the index of the max value of a column
max_index = column.idxmax()
Example 2: get maximum calue df column
max_value = column.max()
#use this to get the index of the max value of a column
max_index = column.idxmax()
max_value = column.max()