A

Admin • 831.35K Points
Coach

Q. Which of the following methods is used to apply a function to each element in a column?

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

Explanation by: Admin
`map()` is used to apply a function to each element in a Series (column).

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.