Skip to main content

NHSX Python Coding Club Resources

These resources have been created to facilitate the NHSX Analytics Unit coding club, and are offered free and open source to allow other teams to train and practice python programming in a collaborative manner.

Introduction to Python

Developed by Mattia Ficarelli NHSX

  • Introduction to Python 1

    This session will cover the basics of python, including basic syntax, using the 'print' command, and assigning variables. This will be an interactive session and participants will be given simple code based exercises to complete during the session.

  • Introduction to Python 2

    This session will cover control flow and if-statements. This will be an interactive session and participants will be given simple code based exercises to complete during the session.

  • Introduction to Python 3

    This session will cover loops and lists. This will be an interactive session and participants will be given simple code based exercises to complete during the session.

Python Examples

  • trashPanda: Deal with excel files in Python

    By Craig Shenton NHSX

    This session will cover the use and application of python tools that allow for multiple poorly formatted excel workbooks (even within directories) to be merged and outputted into a single properly formatted CSV table. These tools have widespread practical applications for dealing with often incomplete/messy NHS data.

  • Time-series forecasting with Prophet

    By Dan Schofield NHSX

    This session will discuss the use of the package “Prophet” produced by the core Data Science team at Facebook. The package is available with both python and R wrappers of the underlying stan model, which was built with accuracy, speed, interpretability, and automation in mind, for time-series forecasting at scale.

  • Application Programming Interface (APIs)

    By Jonny Pearson NHSX

    This session will discuss interacting with APIs using Python. APIs allow different systems to exchange (send or recieve) data. APIs are all around us but often hidden away doing the legwork to make smooth data flows e.g. weather apps on your phone, paypal, and loggin through google all use APIs.

  • New Project

    Coming soon.