ComenzarEmpieza gratis

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?

Este ejercicio forma parte del curso

Writing Efficient Code with pandas

Ver curso

Ejercicio interactivo práctico

Pon en práctica la teoría con uno de nuestros ejercicios interactivos

Empezar ejercicio