Skip to Main Content

University Library, University of Illinois at Urbana-Champaign

Basic Data Analysis in Python

This guide will go over how to utilize the Python programming language for basic data analysis.

Standard Deviation

While you can perform this calculation in the same project with the same list, for clarity, this guide will be showing it in a new project. 

If you are creating a new project, set up everything in the exact same way: docstring, spaces, and main function. This time, when importing the statistics package, you want to only import "stdev." Then, use this command in the same way you used the measures of central tendency!

You should get a new number as your result.