Skip to main content
megaphone icon

GitHub Universe on the Road

GitHub Universe is going on the road. Find a stop near you and join the experience.

Analysing PMQs with Power BI, Python and data science (almost) - Ned Stratton

February 25, 2025 | 6:00 - 9:00 PM (UTC) Coordinated Universal Time

Ready to get started with AI and the latest technologies? Microsoft Reactor provides events, training, and community resources to help developers, entrepreneurs and startups build on AI technology and more. Join us!

Analysing PMQs with Power BI, Python and data science (almost) - Ned Stratton

February 25, 2025 | 6:00 - 9:00 PM (UTC) Coordinated Universal Time

Ready to get started with AI and the latest technologies? Microsoft Reactor provides events, training, and community resources to help developers, entrepreneurs and startups build on AI technology and more. Join us!

Go back

Analysing PMQs with Power BI, Python and data science (almost) - Ned Stratton

February 25, 2025 | 6:00 - 9:00 PM (UTC) Coordinated Universal Time

Location: London

Address: 2 Kingdom Street Paddington London W2 6BD

  • Format:
  • alt##In personIn person (London)

Topic: AI Applications

Language: English

Hansard online archives all debates in the UK Parliament going back over 100 years. The set-piece event of this is arguably PMQs, a cantankerous weekly 30-minute televised head-to-head between the Prime Minister and the Leader of the Opposition.
Since Tony Blair took office in 1997, PMQs debate transcripts have generated nearly 5 million words. Turning this vast bank of unstructured text data into a focused and rich analytical dataset to produce insights into trends in UK politics sounds advanced and 'data-sciency', right? Do we need sentiment scoring and word2vec? An LLM?
No, as it happens. With some subject-matter affinity and mostly vanilla Python (and some help from its text library NLTK), we can mine fascinating insights from PMQs debates on Prime Ministers' debating styles over the years, what topics dominated the national conversation, and even how linguistically complex different political parties' politicians are!
Our speaker, Ned Stratton, will give an in-depth demo in using practical Python and Power BI to gather, prepare, and analyse text-heavy datasets and present their insights impactfully in a dashboard. As bonus material, he will also reveal "Stratton's number" - the minimum threshold of MPs in Parliament that a minor party needs to win to gain a critical mass of attention, credibility and legislative influence.

Related Events

The events below may be of interest to you as well. Be sure to visit our Reactor homepage to see all available events.