Login
📚 Python for Introductory Statistics
Chapters ▾

0. Why Learn Python?

Logo of Harry S Truman College, City Colleges of Chicago.
Title graphic: Python for Introductory Statistics — Mathematics Department, Fall 2021, Google Colab Edition.

Purpose and Overview

The purpose of this material is to provide an overview of the free programming language, Python, and a few of its software libraries that are most useful for improving Introductory Statistics students' learning and for providing an alternative statistical software package for those who perform statistical data analysis and plotting. This material, along with the companion workbook and a free web-based Python platform, could easily replace the use of other software packages and calculators in an Introductory Statistics course. Part I, Sections 1 to 4, covers the basics of the Python programming language. Part II, Sections 5 to 13, focuses on Python for introductory statistics, and Part III, Section 14, covers selected advanced statistics topics in Python. Additionally, there are demo video links accompanying key steps for further instruction. No prior programming knowledge is required or assumed.

Questions, comments or errors can be reported by sending an email to saman2@ccc.edu. A link to an interactive Colab version of this document can be found in this interactive Colab workbook.

Keyboard Shortcut for HTML (Web Link) and PDF Users: When you click an external link and want to go back to where you were before the click, use the keyboard shortcut Alt and Left-Arrow for Windows and Command and Left-Arrow for Mac.

© 2021 Simon Aman, City Colleges of Chicago. Special thanks to reviewers, Professor Phil Yates of DePaul University and Professor Aman Ghebremicael of Arizona Western College.

This material is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).

Adapted from Python for Introductory Statistics, by Simon Aman (Truman College, City Colleges of Chicago), licensed under CC BY 4.0. Changes were made: reformatted as an accessible XYZ web edition with live in-browser code cells. License: CC-BY-4.0.