Tips N Tricks #5: 3 Simple and Easy Ways to Cache Functions in Python

From the creator

In this video, I show three different and simple ways in which you can cache a function in python. Caching is one of the very important things when you are working in data science and machine learning. When there are a lot of requests to a function, you don't want to run and process all the data for each an every request. Instead, sometimes you just want to cache :) If you like this video, don't forget to click on the like button and subscribe to my channel. :) BERT Sentiment model link: https://github.com/abhishekkrthakur/bert-sentiment/ Kernel Link: https://www.kaggle.com/abhishek/3-different-ways-to-cache-a-function-in-python Follow me on: Twitter: https://twitter.com/abhi1thakur LinkedIn: https://www.linkedin.com/in/abhi1thakur/ Kaggle: https://kaggle.com/abhishek

Choose to Build with AI
Matched to Analyse Business Data

AI Maker Residence 3

The third AI workshop taught by our legendary teacher, Nick Sarafa. This is a full-day hands-on training workshop for purposeful co-creation with AI using Claude Code. Imagine having access to hundreds of billions of dollars of computing power and knowing exactly how to make it work for you through the power of super intelligence.

◆ Fri 09 Oct 2026 ◆ KOKO Cafe, London ◆ With Nick Sarafa
AI Maker Residence 3
Live event
AI Maker Residence 3
Fri 09 Oct 2026

More like this

Running one yourself?

List your AI event,
wherever it is.

A meetup, a workshop, a hackathon, a conference. Any city, or online. Tell us about it and it lands in front of people already learning this stuff.