Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Max, min, mean, median | Explore Dataset
Introduction to Python for Data Analysis
course content

Kursinhalt

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

book
Max, min, mean, median

carousel-imgcarousel-imgcarousel-imgcarousel-img

To find the max of the total df use:

python

To find the max of the column, use:

python

The same code is used to find the min, mean, and median.

Pay attention! If there are 2 elements in the middle of the array, the the median will be counted in the following way: (a+b)/2 where a and b are central elements.

question-icon

Fill in the missing gaps to get the output in the correct order. Imagine that you have a column 'price' in the df DataFrame and its values are [1, 2, 5, 6, 10, 12, 27]

import pandas as pd
df = pd.read_csv('file.csv')
print(df['price']
print(df['price']

print(df['price']

print(df['price']
1, 6, 27, 7

Click or drag`n`drop items and fill in the blanks

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 3. Kapitel 5

Fragen Sie AI

expand
ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

course content

Kursinhalt

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

book
Max, min, mean, median

carousel-imgcarousel-imgcarousel-imgcarousel-img

To find the max of the total df use:

python

To find the max of the column, use:

python

The same code is used to find the min, mean, and median.

Pay attention! If there are 2 elements in the middle of the array, the the median will be counted in the following way: (a+b)/2 where a and b are central elements.

question-icon

Fill in the missing gaps to get the output in the correct order. Imagine that you have a column 'price' in the df DataFrame and its values are [1, 2, 5, 6, 10, 12, 27]

import pandas as pd
df = pd.read_csv('file.csv')
print(df['price']
print(df['price']

print(df['price']

print(df['price']
1, 6, 27, 7

Click or drag`n`drop items and fill in the blanks

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 3. Kapitel 5
Wir sind enttäuscht, dass etwas schief gelaufen ist. Was ist passiert?
some-alt