Core pandas · Lesson 5 of 10
Summary functions and maps
Describing and transforming
pandas has built in functions to summarize data fast.
describe()gives count, mean, min, max and moremean(),max(),min(),sum()work on a columnvalue_counts()shows how often each value appears
To transform a column, do math on it directly, or create a new column from a calculation.
Python
Exercise
Exercise — check your understanding
The temps DataFrame holds daily temperatures. Compute the average of the celsius column and store it in avg.
You’re reading for free. Sign in to keep your progress and earn a certificate when you finish.Sign in to keep my progress →