Lesson overview

In this lesson we will learn the basics of reading and writing data from/to a file, and to do some basic data manipulation and analysis. We will start using pandas, which is a modern and feature-rich data analysis framework for Python designed to make data analysis and manipulation straightforward and powerful using easy-to-use data structures and operations. The main components of today’s lesson can be found in the navigation bar to the left.

Learning goals

After this weeks lesson your should be able to:

  • Read and explore tabular data in Python (using the pandas library)

  • Do simple data analysis using pandas data structures and functions

  • Write data to a .csv text file

Lesson videos

Lesson 5.1 - Exploring data using pandas

Dave Whipp & Håvard Aagesen, University of Helsinki @ Geo-Python channel on Youtube.

Lesson 5.2 - Processing data using pandas

Dave Whipp & Håvard Aagesen, University of Helsinki @ Geo-Python channel on Youtube.