Python is a general purpose programming language that is useful for writing scripts to work effectively and reproducibly with data.
This is an introduction to Python designed for participants with no programming experience. These lessons can be taught in a half a day (~ 3 hours). They start with some basic information about Python syntax, the Jupyter notebook interface, and move through how to import CSV files, using the pandas package to work with data frames, how to calculate summary information from a data frame, and a brief introduction to plotting.
Getting Started
Data Carpentry’s teaching is hands-on, so participants are encouraged to use their own computers to insure the proper setup of tools for an efficient workflow.
These lessons assume no prior knowledge of the skills or tools.To get started, follow the directions in the “Setup” tab to download data to your computer and follow any installation instructions.
Prerequisites
This lesson requires a working copy of Python.
To most effectively use these materials, please make sure to install everything before working through this lesson.
Note
This is not an official Data Carpentry Lesson. This lesson is a modification of an existing Data Carpentry lesson.
Setup | Download files used in the lesson. | |
00:00 | Short Introduction to Programming in Python |
What is Python?
Why should I learn Python? |
00:30 | Starting With Data |
How can I import data in Python?
What is Pandas? Why should I use Pandas to work with data? |
01:30 | Working with Web Data in Python | How can I use data to get specific online content? |
02:30 | Finish |
The actual schedule may vary slightly depending on the topics and exercises chosen by the instructor.