πŸ“Š Pandas
Q. Which function is used to get the index of a DataFrame?
  • (A) columns
  • (B) index
  • (C) keys()
  • (D) labels()
πŸ’¬ Discuss
βœ… Correct Answer: (B) index

Explanation: The index attribute returns the row labels of a DataFrame.

Explanation by: Sikhar Chaudhary
The index attribute returns the row labels of a DataFrame.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
37
Total Visits
πŸ“½οΈ
3 mo ago
Published
πŸŽ–οΈ
Sikhar Chaudhary
Publisher
πŸ“ˆ
91%
Success Rate