What is Grouping Data?
When you read some articles with statistical information, you may often meet aggregated by groups data. For instance, average salary across each country/region.
By this time, you have learned how to aggregate entire data (like, .mean()
or .max()
methods). The result was always a single number - aggregated measurement for all the data. Grouping data will 'rearrange' values by unique records within specific column (group) and then perform respective calculations for values across each group. Look at the picture below to understand how can means across groups be calculated.
As you can see, grouping gathers data by categories and then calculates mean value.
¡Gracias por tus comentarios!
Pregunte a AI
Pregunte a AI
Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla
Awesome!
Completion rate improved to 2.56
What is Grouping Data?
Desliza para mostrar el menú
When you read some articles with statistical information, you may often meet aggregated by groups data. For instance, average salary across each country/region.
By this time, you have learned how to aggregate entire data (like, .mean()
or .max()
methods). The result was always a single number - aggregated measurement for all the data. Grouping data will 'rearrange' values by unique records within specific column (group) and then perform respective calculations for values across each group. Look at the picture below to understand how can means across groups be calculated.
As you can see, grouping gathers data by categories and then calculates mean value.
¡Gracias por tus comentarios!