Q. Which method is used to apply a function along a DataFrame axis?

  • (A) map()
  • (B) apply()
  • (C) transform()
  • (D) aggregate()
πŸ’¬ Discuss
βœ… Correct Answer: (B) apply()
Explanation: apply() can be used to apply a function along the rows or columns of a DataFrame.
Explanation by: Sikhar Chaudhary
apply() can be used to apply a function along the rows or columns of a DataFrame.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
110
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Sikhar Chaudhary
Publisher
πŸ“ˆ
96%
Success Rate