Category Archives: Python

Making Pandas perform

I found that cleaning a time-series was taking longer than expected, the data being stored in a Python Pandas dataframe. With a few alterations to the way I was manipulating the data I was able to improve the performance so … Continue reading

Posted in Finance, Python | Leave a comment

Sentiment analysis of Guardian articles

I’ve created an online tool for applying sentiment analysis to articles published in the Guardian newspaper based on the reader comments. You can jump in and try using it here, or find a short explanation here. Below I’ll discuss what … Continue reading

Posted in Data science, Python, Web | 2 Comments

Quick parallelism in Python

This post gives a demonstration of how parallelism can be introduced to a Python program to increase performance, and in particular how this can be done in very few lines of code. Introduction I’ve been working on a project involves … Continue reading

Posted in Python | Leave a comment

Python versus R

A quick web-search will find you plenty of people contributing to the debate as to whether R or Python is better for data analysis. I’m not really going to contribute to that debate here having already expressed my frustrations with … Continue reading

Posted in Python, R | Leave a comment

A look at MOOCs

I’ve followed a few online courses, or MOOCs, recently and I thought I’d give a quick summary of my experiences. Overview For the uninitiated, MOOCs are Massive Open Online Courses. ¬†As the name suggests they are courses¬†made available openly over … Continue reading

Posted in Data science, Finance, Machine learning, Python | Leave a comment