Get 21% off Pro with code CODECAN | Get Started
Learn to use Python packages or manually calculate the mean, median, and mode of real-world datasets.
Review core concepts you need to learn to master this subject
Mean of a Dataset
Median of a Dataset
The mean, or average, of a dataset is calculated by adding all the values in the dataset and then dividing by the number of values in the set.
For example, for the dataset [1,2,3], the mean is 1+2+3 / 3 = 2.
Portfolio projects that showcase your new skills
In this project, you will use your knowledge of mean, median and mode to make conclusions about three boroughs in New York City: Manhattan, New York City, and Queens.
Stress-test your knowledge with quizzes that help commit syntax to memory
What is wrong with the following formula, which is meant to calculate the mean of a dataset?