Functions are an easy way to cut back on the time you spend pre-processing before analyzing your data.

Photo by Pedro Lastra on Unsplash


Using Pandas to wrangle data? Keep these functions in mind.


To the 2019–2020 Toronto Maple Leafs; you had my curiosity, and now you have my attention.

Mitch Marner(center right), Andreas Johnsson(center left), John Tavares and Auston Matthews celebrating a goal in last season’s NHL playoffs. credit/Daily Hive


Erik Karlsson pictured being the best defenseman in the world. (Sean Kilpatrick/The Canadian Press)

David Beare

Data Engineer/Analyst & Aspiring Data Scientist. I love sports, politics, and a bunch of other nerdy things.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store