Summary and Schedule
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
Participants should execute the Python_Workshop.cmd from \main.oecd.org_Workshop
This bacth file will make sure you have the right configuration to:
- Use the current version of Python (3.12.7)
- Configure pip.ini to install packages using the Nexus proxy server
- Create a virtual environment for the training course
- Install the IDE Spyder to write Python code
Setup Instructions | Download files required for the lesson | |
Duration: 00h 00m | 1. Introduction |
What is programming? How do I document code? How do I find reliable and safe resources or code online? |
Duration: 00h 15m | 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 function? Can I change the value associated with a variable after I create it? |
Duration: 00h 45m | 3. List and Dictionary Methods |
How can I store many values together? How can I create a list succinctly? How can I efficiently access nested data? |
Duration: 01h 25m | 4. Data Transformation | How can I process tabular data files in Python? |
Duration: 03h 25m | 5. Visualizations |
How can I visualize tabular data in Python? How can I group several plots together? |
Duration: 05h 25m | 6. Loops and Conditional Logic |
How can I do the same operations on many different values? How can my programs do different things based on data values? |
Duration: 06h 25m | 7. Fetching data from APIs |
How to get data using a public API ? How to transform a JSON output to a panda dataframe ? Why the API documentation is essential to succeed in getting the expected data ? |
Duration: 07h 06m | 8. Creating Functions |
What are functions, and how can I use them in Python? How can I define new functions? What’s the difference between defining and calling a function? What happens when I call a function? |
Duration: 07h 46m | 9. Errors and Exceptions |
How does Python report errors? How can I handle errors in Python programs? |
Duration: 08h 36m | Finish |
The actual schedule may vary slightly depending on the topics and exercises chosen by the instructor.
FIXME