Informatics Practices

The function to get the index of maximum value in a column of DataFrame is …………… .

  1. max()
  2. index()
  3. idxmax()
  4. maxidx()

Python Pandas

3 Likes

Answer

idxmax()

Reason — The idxmax() function in pandas is used to get the index of the maximum value in a column of a DataFrame.

Answered By

3 Likes


Related Questions