πŸ“Š Pandas
Q. Which method transposes rows and columns in a DataFrame?
  • (A) transpose()
  • (B) T
  • (C) Both A and B
  • (D) swap()
πŸ’¬ Discuss
βœ… Correct Answer: (C) Both A and B

Explanation: Both transpose() and the T attribute transpose rows and columns of a DataFrame.

Explanation by: Sikhar Chaudhary
Both transpose() and the T attribute transpose rows and columns of a DataFrame.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
56
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Sikhar Chaudhary
Publisher
πŸ“ˆ
98%
Success Rate