Fit Predict #1: Evolving from Pandas to Polars
In this issue of the Fit Predict Data Science newsletter, we look at Snowflake extensions for VSCode, Reinforcement Learning at Spotify and more.
This is a light-hearted overview of what's been going on in the world of Data Science this week. See it as your 5-minute update such that you can sound at least slightly knowledgeable at your next coffee chat β
Have you been forwarded this? You can subscribe here!
Hey there,
I'm back in Norway after spending the Christmas break in England, where I was trying ever so hard to avoid the urge to work on a little (OK, maybe not so little) side project. When the idea popped into my mind, I believe I even uttered the famous phrase:
"that would be a fun side project and shouldn't take too long either"
It turns out, that wasn't true.
Even after all these years, I still clearly have not learnt that projects always take longer than you expect!
But anyway, enough of me rambling about not being able to set good boundaries, let's get to the main reason we are here...
π§° Tools
The tools that will make your life that little bit easier, or at least more interesting... but either way it's fun to play with new toys.
This neat little extension allows you to interact with your Snowflake instance in VSCode, with many of the same features you would use in their GUI.
Polars is a package designed to be a fast DataFrame library for Python, written in Rust. It's been the talk of the town lately in my company and could be the answer for those of us who struggle with large and slow operations in Pandas.
Some more Rust for you! PRQL is a SQL replacement written in Rust which is supposed to be simpler to use and easier to analyse data with.
π§βπ¬ In practice
Stories of those who are genuinely implementing Data Science. Step aside Titanic dataset, this is the real deal
In this interview on the TWIML AI Podcast, Tony Jebara (Head of Machine Learning) from Spotify explains how they use reinforcement learning to improve their personalized recommendations.
This blog post from Neal Lathia (Staff Machine Learning Engineer) is a good reminder of the choices and tradeoffs we must make when machine learning becomes an established part of the business.
π¦ The best of Data Twitter
Data Twitter is the best Twitter.
It's an oldie but a goldie. The recent popularity of ChatGPT means it's time to bring out this evergreen tweet.
2028: βYou want to write a prompt? First you need to hire 10-15 promptOps Engineers to build out your PromptFlow pipelines which sends promptjobs to your PromptLake from the PromptQueue using the EventPrompt streamβ
from @chrisalbon
Could this be the next big breakthrough in machine learning? Pigeon learning π¦
from @ChelseaParlett
Simple machine learning tutorials are good, but it's helpful to be reminded of how real-world data science looks.
β’ Data comes in
β’ Model makes predictions
β’ Done
What they actually are:
β’ Raw data comes in
β’ Goes through multiple transformation layers
β’ Quality checks, anomaly detection, etc
β’ Feature engineering
(continued)
from @marktenenholtz
Who doesn't enjoy a good data visualisation π
My goal this year was to get a little lighter and fitter. This #dataviz illustrates how I went above and beyond that goal, and got addicted to cardio in the process! πΊπ»
Who's ready for a fit 2023? π
from @parabolestudio
π Thought-provoking
Content to inspire, or at the very least keep you informed.
A recent TalkPython podcast covered the topic of using the command line for data science π€―. There's a lot here that I didn't know was possible before, so I guarantee you will come away with at least one new trick after watching this.

How could homework work at educational institutions in the age of ChatGPT and other AI language models? Well, here is one suggestion:

π§ Updates
Did you know that your favourite Python packages actually get updated regularly and you should update your requirements.txt
file?
You can now use
PredictionErrorDisplay
to easily make plots that show the error of your model predictions. Nice πNew theme for you! The Streamlit theme for Altair, Plotly, and Vega-Lite charts is here π
A few other minor updates you should be aware of: