Q. Which function is used to get the index of a DataFrame?
β
Correct Answer: (B)
index
Explanation: The index attribute returns the row labels of a DataFrame.