Q. In Pandas, which method is used to sort a DataFrame by the values in one or more columns in ascending or descending order?

  • (A) apply()
  • (B) pivot_table()
  • (C) sort_values()
  • (D) filter()
πŸ’¬ Discuss
βœ… Correct Answer: (C) sort_values()

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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