datacamp-logo

When to use the transform() function

The .transform() function applies a function to all members of each group. Which of the following transformations would produce the same results in the whole dataset regardless of groupings?

Answer the question
50 XP
Possible Answers
  • press
  • press
  • press
  • press