Farr Institute London Short Courses


Introduction to Python for Health Data Science

Python is increasingly being used for data science in biomedicine. This introductory and interactive course is run over one day and will cover the basic aspects of programming in Python.

The interactive lecture sessions serve as a opportunity to explore the concepts in greater depth, raise questions, and enable participants to acquire greater understanding of the Python programming language.

Throughout this course we will use examples from biomedicine.

Learning Objectives

By the end of this course, participants will be able to:

  • Explain the principles of Python as a programming language
  • Outline and apply the interaction with Python
  • Define and use basic elements of Python such as variables and expressions/operators
  • Explain and apply data types such as numbers, strings, lists, sets, dictionaries, namespaces, and tuples
  • Outline and use if-statements (flow controls)
  • Present and practice loop-constructs in Python
  • Describe the syntax of a function and demonstrate the use of functions
  • Demonstrate error handling in Python
  • Present the essentials of modules, libraries, file input and output, and best practices
  • Apply Python in one data science problem of healthcare

Outline Timetable

Time Activity Led by
09:00-09:30 Registration and coffee  
  • Introduction to Python
  • Interaction with Python
  • Expressions and operators
  • Data elements and data types
Holger Kunz, Spiros Denaxas
11:00-11:15 Coffee  
  • Flow Controls
  • Iterations
Holger Kunz, Spiros Denaxas
12:45-13:45 Lunch  
  • Functions
  • Error handling
Holger Kunz, Spiros Denaxas
15:15-15:30 Coffee  
  • Modules and libraries
  • Python for Data Science in Healthcare
Holger Kunz, Spiros Denaxas

Course Team

Dr Spiros Denaxas (Lead tutor)
Dr Holger Kunz (Lead Tutor)