subject
Intro

Python for Data Journalists: Analyzing Money in Politics

You will learn just enough of the Python computer programming language to work with the pandas library, a popular open-source tool for analyzing data. The course will teach you how to use pandas to read, filter, join, group, aggregate and rank structured data.

You will also learn how to record, remix and republish your analysis using the Jupyter Notebook, a browser-based application for writing code that is emerging as the standard for sharing reproducible research in the sciences.

And most important: you will see how these tools can increase the speed and veracity of your journalism.

Syllabus

Module 0: Hello world
In this introductory module, you will learn how to configure your computer to work with Python. Before you can use it analyze data, your computer needs the following tools installed:
A command-line interface to interact with your computer
The git version control software and a GitHub account
Version 2.7 of the Python programming language
The pip package manager and virtualenv environment manager for Python
A code compiler that can install our heavy-duty analysis tools

Module 1: Hello notebook
This week you will learn how to start a new Python analysis project and introduce you to pandas and the Jupyter Notebook. You will use them to draft an elementary data analysis that is clear and reproducible.
Creating a new Python workspace with virtualenv
Using pip to install the pandas and Jupyter Notebook libraries
Creating your first Jupyter Notebook
How to write Python code in a Jupyter NotebookImporting the pandas library into the Jupyter Notebook

Module 2: Hello data
This week you will download a list of campaign contributors published by the California Civic Data Coalition and load it into a Jupyter Notebook for analysis with pandas. This class will cover:
Learning how the money funding campaigns is tracked in the United States
Downloading campaign data from the California Civic Data Coalition website
Importing structured data files as a DataFrame with pandas’ read_csv method
Inspecting DataFrames with pandas’ info and head methods
Inspecting and summarizing DataFrame columns with pandas’ value_counts and describe and sum methods

Module 3: Hello analysis
This week you will learn how to use pandas to conduct a data analysis and document your work with the Jupyter Notebook. It will cover:
Filtering a DataFrame with pandas’ indexing system
Merging two DataFrames with pandas’ merge method
Sorting a DataFrame with pandas’ sort_values method
Aggregating a DataFrame with pandas’ groupby method
Using these tools to responsibly navigate and analyze California campaign data

Module 4: Hello Internet
This week you will learn how to log changes to your Jupyter Notebook with version-control software and publish your analysis on the Internet. It will cover:
The git version control software and its integration with GitHub’s social network
How data journalists use GitHub and Jupyter Notebook to publish their work
How to use the Markdown markup language to annotate a Jupyter Notebook
How to create a new git code repository and start tracking code
How to connect the repository to GitHub and publish a Jupyter Notebook

0 Student
reviews
Cost Free Online Course
Pace Finished
Subject Data Analysis
Provider Independent
Language English
Calendar 5 weeks long
+ Add to My Courses
Learn Data Analysis udacity.com

Learn to become a Data Analyst. Job offer guaranteed or get a full refund.

Advertisement
Become a Data Scientist datacamp.com

Learn Python & R at your own pace. Start now for free!

Advertisement
FAQ View All
What are MOOCs?
MOOCs stand for Massive Open Online Courses. These are free online courses from universities around the world (eg. Stanford Harvard MIT) offered to anyone with an internet connection.
How do I register?
To register for a course, click on "Go to Class" button on the course page. This will take you to the providers website where you can register for the course.
How do these MOOCs or free online courses work?
MOOCs are designed for an online audience, teaching primarily through short (5-20 min.) pre recorded video lectures, that you watch on weekly schedule when convenient for you.  They also have student discussion forums, homework/assignments, and online quizzes or exams.

0 reviews for Python for Data Journalists: Analyzing Money in Politics

Write a review

Write a review

How would you rate this course? *
How much of the course did you finish? *
Review
Create Review

Class Central

Get personalized course recommendations, track subjects and courses with reminders, and more.

Sign up for free