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

  • (A) Filters unique rows based on specified columns
  • (B) Removes duplicate rows from a data frame
  • (C) Counts the distinct values in a column
  • (D) Selects distinct elements from a vector
πŸ’¬ Discuss
βœ… Correct Answer: (B) Removes duplicate rows from a data frame

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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