S

Shyam Dubey • 3.70K Points
Extraordinary

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

  • (A) map()
  • (B) apply()
  • (C) transform()
  • (D) aggregate()
  • Correct Answer - Option(B)
  • Views: 1
  • Filed under category Pandas
  • Hashtags:

Explanation by: Shyam Dubey
apply() can be used to apply a function along the rows or columns of a DataFrame.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.