Data Analysis

Some tasks using pandas for analyzing and visualizing data.

Seven Line Challenges

Repeat pandas basics, seven lines at a time.

Challenge Difficulty
Inspect DataFrames
Select Rows and Columns
Filter DataFrames
Read and Write DataFrames
Plotting with pandas
Descriptive Statistics
Datetime Indexes
Linear Regression ⭐⭐
Overfit a Regression Model ⭐⭐

Coding Kata

Challenge Difficulty
Baby Name Generator
Random Data
Benford Analysis ⭐⭐
Movie Ratings ⭐⭐
US Baby Names ⭐⭐
Last Letters ⭐⭐⭐


© 2020 Dr. Kristian Rother (

Distributed under the conditions of the Creative Commons Attribution Share-alike License 4.0

Sources of this document on: verfügbar.


I would like to thank the following people for inspiring exchange on training and Python that this material has benefited from: Jasmin Touati, Veit Schiele, Dinu Gherman, Pedro Fernandes, Tomasz Puton, Edward Jenkins, Bernard Szlachta, Robert Lehmann, Allegra Via, Kaja Milanowska, Anna Philips und Magdalena Rother.

Dr. Kristian Rother

I am a professional Python trainer, developer and author based in Berlin. I believe everybody can learn programming.

Contact me via:
+49 176 3052 4691


I would call it a talent to take the audience with you.

Jakub M., UAM Poznan

See also