I have used the Python data manipulation package Pandas daily and professionally for the last six years, but I’ve never actually done any official training or read books on using Pandas. My Pandas fluency has come slowly by solving daily problems and overcoming obstacles through looking at the Pandas documentation and reading helpful posts on…
Category: Python
Quantifying Londoners change in fitness habits during lockdown
With people being urged to stay at home during the Covid-19 outbreak, gyms closed, and social distancing measures in place, it’s safe to say that fitness and workout trends have changed along with other aspects of daily life. Using data from Twitter, we set out to investigate the popularity of certain fitness related keywords, before…
Tutorial: Making sense of Fitbits’s JSON export
Fitbit has improved its online data exporting tool to allow export of all the accumulated data, a big step up from their previous export tool that was limited to averages over a limited period of time.With devices that are meant to be worn 24/7 to track everything from sleep, steps and heart rate, the amount…
Tutorial: Stress detection with wearable devices and Machine Learning
This blog post presents an automated machine learning approach in Python to create a stress monitoring system with data from devices such as fitness trackers. With the rising popularity of trackers that monitor biological signals 24/7, there is only a matter of time before the technology matures and everyone will be wearing their own ‘doctor…
Tutorial: Quantum Teleportation in Python
Quantum teleportation sounds like science fiction but is a fully working communication protocol to teleport a quantum state from one place to another. This tutorial walks through the steps to program a simple quantum computer to teleport a text message using quantum teleportation. This is part two of the tutorial series on quantum computing in…
Tutorial: Getting started with Quantum Computing in Python
Quantum computers might sound a bit exotic and far into the future, but in reality, they are now accessible in the cloud or through emulators for everyone to write quantum code. In this tutorial, we’ll go through how you can program a simple quantum computer to generate random numbers. This is part one of the…
Quantifying Londoners discontent towards Tube strikes using NLP
Tube strikes are an unavoidable part of the London life for better or worse, and back on Monday 9th of January 2017 most Zone 1 Tube stations were closed due to strike action. For those who used the underground as a part of their daily commute this undoubtedly led to issues with getting into work,…
Reading RR intervals from EliteHRV with Pandas
Heart Rate Variability (HRV) is a measure of the time interval between each heart beat and is a measure that in contrast to beats per minute can quantify the variation between each heartbeat. This blog post explains how HRV readings done with the mobile application EliteHRV can be read and plotted with Pandas and Python.…