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

πŸ‘οΈ
99
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Sikhar Chaudhary
Publisher
πŸ“ˆ
97%
Success Rate