Q. Which method is used to reset the index of a DataFrame?
β
Correct Answer: (A)
reset_index()
Explanation: reset_index() resets the index of a DataFrame, converting the current index into a column.