Pro Python tips for Data Analysts
10-22, 14:30–14:55 (Europe/Stockholm), Data

Live stream: https://www.youtube.com/watch?v=bZjHWgLnWs8

What can a developer teach a data analyst about data analysis?
A few lines of Python code may be enough to solve a tricky data cleaning challenge.
Functions can stop you from getting lost in many copies of very similar code.
Tips for writing larger programs without tearing your hair out.
Start writing code which is still useful in years to come, and which evolves without degrading into a big mess
I will share examples of how I've used pure Python in my data analysis and give you simple tips on applying software development best practices to your code.


Pandas, MatPlotLib and scikit-learn are fantastic libraries. Glue them together with a little bit of Python and you can do so many things. Your favourite search engine fills in the gaps when you're stuck.

You wield your favourite weapons in the war against meaningless data with ease and style. So what can you learn from someone who started coding in the late '70s? What could an experienced Python trainer/engineer possibly know that you can't find online yourself?

Whilst doing data analysis projects I regularly drop back on my Python and computer science knowledge.

Sometimes a few lines of code will be enough to solve a tricky data cleaning challenge.

Knowing how to write functions stops me from getting lost in many copies of very similar code.

Combining the ease of Jupyter cells with the rigours of clean code lets me write large programs without tearing my hair out.

Doing a quick analysis is easy. Writing code which is still useful in years to come, which evolves without degrading into a big mess, takes experience.

I will share examples of how I've used pure Python in my data analysis and give you simple tips on applying software development best practices to your code.

Let's learn from each other. Telling people with much more data analysis experience than myself how to do their job feels a little scary. There may be a better way that I've missed. If so, please tell me after the talk - just be gentle - thanks ;-)

I am an independent Python trainer and developer with decades' coding experience. On my LinkedIn profile I describe myself like this:

I am a snake wrestler, taming Python to my will, writing code which delivers. A snake charmer, revealing this elegant creature, delivering Python training.

I have worked with startups in the renewable energy sector, on a charity's website supporting their multi-million pound fundraising campaign, the data pipeline of an innovative entertainment venue, a consumer website for expecting parents, and many others. I teach Python to developers from across the world in large corporations, government organisations and ambitious start ups.

As an introvert I can isolate and concentrate for hours and days writing complex code. And I have well developed social and communication skills. Trained as a personal and business coach, I have chaired six conferences, have written many articles, and have recorded five 90-minute training videos.