Informatics Practices
The function to get the index of maximum value in a column of DataFrame is …………… .
- max()
- index()
- idxmax()
- 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
1 Like
Related Questions
Which function calculates descriptive statistical details for a DataFrame ?
- info()
- describe()
- show()
- list()
To calculative cumulative sum of a column of a DataFrame, you may use …………… function.
- sum()
- sum(cumulative = True)
- cumsum()
- none of these
To get top 5 rows of a DataFrame, you may use …………… function.
- head()
- head(5)
- top()
- top(5)
To get bottom 3 rows of a DataFrame, you may use …………… function.
- tail()
- tail(3)
- bottom()
- bottom(3)