Q. What is the purpose of the pivot_longer() function in dplyr?

  • (A) Transforms wide data to long format
  • (B) Transposes rows and columns
  • (C) Expands the data frame horizontally
  • (D) Unpivots the data frame
πŸ’¬ Discuss
βœ… Correct Answer: (A) Transforms wide data to long format

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
135
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
82%
Success Rate