S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which pandas method is used to apply a function element-wise on a Series?

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

Explanation by: Shyam Dubey
The map() method is used to apply a function or mapping to each element in a Series.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.