When to use transform()?
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?
Cet exercice fait partie du cours
Writing Efficient Code with pandas
Exercice interactif pratique
Passez de la théorie à la pratique avec l’un de nos exercices interactifs
