Skip to Content
Doing Math with Python
book

Doing Math with Python

by Amit Saha
August 2015
Beginner
264 pages
5h 57m
English
No Starch Press
Content preview from Doing Math with Python

3Describing Data with Statistics

image

In this chapter, we’ll use Python to explore statistics so we can study, describe, and better understand sets of data. After looking at some basic statistical measures—the mean, median, mode, and range—we’ll move on to some more advanced measures, such as variance and standard deviation. Then, we’ll see how to calculate the correlation coefficient, which allows you to quantify the relationship between two sets of data. We’ll end the chapter by learning about scatter plots. Along the way, we’ll learn more about the Python language and standard library modules. Let’s get started with one of the most commonly used ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Master Math by Coding in Python

Master Math by Coding in Python

Codestars By Rob Percival, Mike X Cohen
Python Workout

Python Workout

Reuven M. Lerner

Publisher Resources

ISBN: 9781457189999Errata Page