Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Dive Deeper into Grouping Data | Explore Dataset
Introduction to Python for Data Analysis
course content

Conteúdo do Curso

Introduction to Python for Data Analysis

Introduction to Python for Data Analysis

1. Introduction to Python 1/2
2. Introduction to Python 2/2
3. Explore Dataset
4. Becoming an Analyst

bookDive Deeper into Grouping Data

In the previous chapter, we applied the mean() function, but I want to share with you other commonly used methods.

Function titleImplementationSyntax
mean()Finds the mean value of all values in column that relates to one groupDataFrame.groupby().mean()
median()Finds the median value of all values in column that relates to one groupDataFrame.groupby().median()
sum()Finds the sum of all values in column that relates to one groupDataFrame.groupby().sum()
count()Finds the amount of values in column that relates to one groupDataFrame.groupby().count()
min()Finds the minimum value of all values in column that relates to one groupDataFrame.groupby().min()
max()Finds the maximim value of all values in column that relates to one groupDataFrame.groupby().max()

In the task you will work with the dataset:

question-icon
Fill the gaps to cope with the tasks. Group by experience_level using .min() function to find the minimum salaries for each experience level.

.(['']).

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 3. Capítulo 8
some-alt