• Skip to primary navigation
  • Skip to main content
The Data Lab

The Data Lab

Pruple button with the word menu
  • About Us
        • About Us

           
          Visit our About Us page

        • Careers
        • Our Team
        • Impact
        • The Scottish AI Alliance
        • Contact us
  • Business
        • For Business

           

          Visit our Business Support page

        • Access Talent
        • Funding and Business Support
        • Partnerships
  • Professionals
        • For Professionals

           

          Visit our Professional Development page

        • Online Courses
        • Data Skills for Work
  • Students
        • For Students

           

          Visit our Students page

        • The Data Lab Academy
        • Student Placements
        • Scholarships
  • Universities and Colleges
        • For Universities and Colleges

           

          Visit our Universities and Colleges page

        • Funding and Support
        • Collaborate and Innovate
        • Academic Projects
  • Community
        • Community

           

          Visit our Community page

        • Online Community
        • News
        • Case Studies
        • DataFest

python

rocket

Making a reproducible RShiny application

Technical Skills 15/04/2022

In a previous post we wrote an article about an RShiny app for exploring traffic accidents in Scotland. Unfortunately, if we wanted to run this application today, we would face compatibility issues. Imagine, if as an organisation we decided to deploy this application somewhere else or a colleague, client or any user wanted to run […]

View

Tags: environment management, package management, python, reproducibility, Shiny, technical debt

Keeping up to date with technical advances: Python versus Tableau for data visualisations

Technical Skills 28/02/2018

Python is great, but… Since taking up Python several years ago I’ve often thought of it as the Swiss Army Knife of programming languages. After successfully using it for webscraping, software development, number-crunching and data visualisation one achieves a certain level of comfort in knowing that, if you need to do it in code, you […]

View

Tags: James Bond, python, Tableau

Excel-like functionality with Python pandas: The Data Lab takes the Pepsi Challenge!

Technical Skills 17/11/2017

Happy Birthday Excel! I would posit that the world’s most used data science software is the ubiquitous Microsoft Excel. Released for Windows in November 1987, this month marks its 30th anniversary. In that time I’d imagine it has been employed by all manner of people across near all industries: from the fund manager tracking his […]

View

Tags: Excel, pandas, python

Snakes and Ladders (Part 3 of 3): Analysing the classic children’s game

Technical Skills 07/11/2017

To recap the analysis from our previous article, we have now shown that the advantage to Player 1 in snakes and ladders is minimal (amounting to less than 6 extra wins out of every 1,000 games). In this post we look at visualising some results, focusing in particular on the distribution of game lengths and the […]

View

Tags: python, Snakes & Ladders

Snakes and Ladders (Part 2 of 3): Analysing the classic children’s game

Technical Skills 31/10/2017

In the previous post in this series, we set out the basic Python code required to simulate a single game of snakes and ladders. In order to analyse the game in more detail we will be required to simulate multiple random games so that we can look at certain properties, such as expected game lengths, […]

View

Tags: python, Snakes & Ladders

Snakes and Ladders (Part 1 of 3): Analysing the classic children’s game

Technical Skills 24/10/2017

In this short series of three blog posts we show how easy it can be to take an everyday activity and analyse it using Python, gaining insights that might illuminate or in some cases even surprise… Anyone who has ever played games against young children knows that they absolutely must go first, and my daughter Eva is […]

View

Tags: python, Snakes & Ladders

Innovate • Support • Grow • Respect

Get in touch

t: +44 (0) 131 651 4905

info@thedatalab.com

Follow us on social

  • Twitter
  • YouTube
  • Instagram
  • LinkedIn
  • TikTok

The Data Lab is part of the University of Edinburgh, a charitable body registered in Scotland with registration number SC005336.

  • Contact us
  • Partnerships
  • Website Accessibility
  • Privacy Policy
  • Terms & Conditions

© 2025 The Data Lab