Python control flow loops and functions

Open to
Government analysts
Training category
Analytical
Type of training
Online
Length
3 hours
Organiser
Analysis Function Capability Team
Provider
Analysis Function Capability Team
Location
Online

Description

Loops, Control Flow and the ability to write your own functions are valuable programming tools. Use of these tools help to reduce repetition in code; improving readability and following good coding practices. This short course covers and introduction to these topics and demonstrates areas for additional learning.

Learning outcomes

By the end of the session, participants will be able to:

  • use For loops
  • use While loops
  • use If Elif and Else Control Flow
  • write your own basic functions
  • understand Scope in terms of Functions
  • be aware of how Functions can be applied to DataFrames

Introduction to Python is a pre-requisite for this course.

How to book

Please use your Learning Hub account to access this course online. If you do not have a Learning Hub account, please contact gss.capability@statistics.gov.uk.