Oh Python, How I Love You (Until I Get A Data Type-Related Error)

One of the worst experiences for an intermediate programmer is to debug a sophisticated bit of software only to figure out Python is delivering the wrong data type somewhere in the mix.

Sigh.

I’ve never heard of data science-types using strongly typed languages (TypeScript, Java, C++) for their analyses, but it wouldn’t be the dumbest things I’ve ever heard.

Edit 13 Aug 2019:

I’ve since had a think about my last comments regarding strongly typed languages and data science – and I don’t know what I was thinking. Heaps of DS work is done in strongly typed languages! It is perfectly normal to do analyses in C++, Java, (C!), C#, etc. I think when I wrote that I was thinking, for whatever reason, of TypeScript which is quite young. Hell, I’ve even done work in C#!