【无标题】

What is the difference between apply and applymap function in pandas?

【无标题】_第1张图片

And the Pandas official API reference suggests that:

  • apply() is used to apply a function along an axis of the DataFrame or on values of Series.
  • applymap() is used to apply a function to a DataFrame elementwise.
  • map() is used to substitute each value in a Series with another value.

你可能感兴趣的:(css,html,css3)