Accessibility Settings

color options

monochrome muted color dark

reading tools

isolation ruler
» Tipsheet

Resource

Topics

Analyzing Data – Python

Read this article in

Python is one of the most popular programming languages for data journalists, and it is useful for scraping websites as well as cleaning and analyzing data. Here are some resources for learning to code in Python. 

A Byte of Python is an online book dedicated to the basics of Python. It is targeted at those with little to no experience with the language. It also comes with a GitHub repository with exercises. 

Datajournalism.com offers this introductory Python tutorial for journalists using Jupyter Notebook  taught by Dutch data journalist Winny de Jong.

First Python Notebook is a step-by-step guide to python designed for beginners by Los Angeles Times editor and long-time data journalism Ben Welsh.

Google’s Python Class is a written introduction to basic Python, with instructions on how to set up Python and hands-on exercises. 

Learnpython.org has a set of written tutorials with interactive exercises that can be completed online in Python Shell, without downloading Python or a text editor. The lessons cover more topics than Google’s. 

Learn Python 3 the Hard Way (2017) by Zed Shaw is an introduction to coding with Python. If purchased directly from the author’s website, the book comes with tutorial videos. (Purchase required)

Republish our articles for free, online or in print, under a Creative Commons license.

Republish this article


Material from GIJN’s website is generally available for republication under a Creative Commons Attribution-NonCommercial 4.0 International license. Images usually are published under a different license, so we advise you to use alternatives or contact us regarding permission. Here are our full terms for republication. You must credit the author, link to the original story, and name GIJN as the first publisher. For any queries or to send us a courtesy republication note, write to hello@gijn.org.

Read Next

Data Journalism News & Analysis

From Space to Story in Data Journalism

Over the past 10 years satellite imagery has become an important component of data journalism. In the next 10, it will likely evolve further, from a tool used primarily for illustrating stories to an integral part of research and investigative reporting.