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 exercício faz parte do curso
Writing Efficient Code with pandas
Exercício interativo prático
Transforme a teoria em ação com um de nossos exercícios interativos
