Q. Which of the following sort a dataframe by the order of the elements in B?

  • (A) x[rev(order(x$B)),]
  • (B) x[ordersort(x$B),]
  • (C) x[order(x$B),]
  • (D) x[rev(x$B),]
πŸ’¬ Discuss
βœ… Correct Answer: (A) x[rev(order(x$B)),]

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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