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.

Maximum

While maximum and minimum would be more helpful when you are presented with a much longer list, it is important to introduce these functions because they serve as a gateway into exploring Python's built-in functions. For these two calculations, we do not need to import anything.

After creating your new project, setting it up, and creating your new list, all we need to do is use the max() function and fill the parentheses with your list name.

This will produce another new number for your result.

Minimum

Just like maximum, we can use a built-in Python function, min(). Like usual, fill the parentheses with your list name, run the program, and find your new result in the bottom window.