This lesson is still being designed and assembled (Pre-Alpha version)

Lesson Title

Python for Official Statistics will teach participants the basics of Python for its use in creating Official Statistics. Participants will learn basic programming principles, and employ them in the manipulation of data and data structures.

Prerequisites

FIXME

Schedule

Setup Download files required for the lesson
00:00 1. Introduction What is programming?
How to document code?
Finding resources/code online
00:15 2. Python Fundamentals What basic data types can I work with in Python?
How can I create a new variable in Python?
How do I use a built-in Python function?
Can I change the value associated with a variable after I create it?
01:00 3. Loops and Conditional Logic How can I do the same operations on many different values?
02:00 4. Conditional Logic How can my programs do different things based on data values?
02:30 5.
02:30 6. Alternatives to Loops How can I vectorize my loops?
03:00 7. Creating Functions How can I define new functions?
What’s the difference between defining and calling a function?
What happens when I call a function?
03:30 8. Data Analysis How can I process tabular data files in Python?
How can I do the same operations on many different files?
04:30 9. Visualizations How can I visualize tabular data in Python?
How can I group several plots together?
05:30 10. Errors and Exceptions How does Python report errors?
How can I handle errors in Python programs?
06:20 11. Testing How can I make my programs more reliable?
07:00 12. Debugging How can I debug my program?
07:50 Finish

The actual schedule may vary slightly depending on the topics and exercises chosen by the instructor.