Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Leer What is Grouping Data? | Grouping Data
Data Manipulation using pandas
course content

Cursusinhoud

Data Manipulation using pandas

Data Manipulation using pandas

1. Preprocessing Data: Part I
2. Preprocessing Data: Part II
3. Grouping Data
4. Aggregating and Visualizing Data
5. Joining Data

book
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.

Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 3. Hoofdstuk 1

Vraag AI

expand
ChatGPT

Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.

course content

Cursusinhoud

Data Manipulation using pandas

Data Manipulation using pandas

1. Preprocessing Data: Part I
2. Preprocessing Data: Part II
3. Grouping Data
4. Aggregating and Visualizing Data
5. Joining Data

book
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.

Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 3. Hoofdstuk 1
Onze excuses dat er iets mis is gegaan. Wat is er gebeurd?
some-alt