Hi Reader,
Last week, I shared my 25 most useful keyboard shortcuts for Jupyter Notebook. If you want to reference it later, here's the blog post:
🔗 Fly through Jupyter with keyboard shortcuts
Let’s move on to this week’s tip!
Has this ever happened to you?
You get an idea for some code you want to try out, and you sit down at a computer, but it’s not your usual machine. You don’t want to set up your development environment right now, but you also don’t want to abandon your idea.
What do you do?
I’ve got two ideas for you, and both will get you coding in your web browser in under 10 seconds, including access to common data science libraries like scikit-learn and pandas! 🐼
Go to try.jupyter.org and click on JupyterLab or Jupyter Notebook. In just a few seconds, you’ll be ready to code!
This interface is powered by JupyterLite, which is a JupyterLab distribution that runs entirely in the browser. (Technically, the Notebook option is actually “RetroLab”, a project that duplicates the Notebook experience using JupyterLab components.)
Unfortunately, this service sometimes times out when there are lots of users. In that case, I recommend that you google for “jupyterlite”, click the first link (which is the JupyterLite documentation), and then click “Lab” or “Retro” at the top of the page.
Go to https://colab.research.google.com/notebooks/empty.ipynb, or google for “colab scratchpad” and click the first link. You’ll be taken to a Colab Notebook, which is very similar to the Jupyter Notebook.
Scratchpad is better than the Colab start page because you’re taken directly to a notebook, plus it doesn't create an “Untitled” notebook in your Google Drive. (However, you still have to be logged into a Google account in order to use Scratchpad.)
Unlike JupyterLite, Colab rarely seems to time out since it’s run on Google's servers, and code consistently runs quickly!
How helpful was today’s tip?
See you next Tuesday!
- Kevin
P.S. A tale of data science romance 😍
Did someone awesome forward you this email? Sign up here to receive data science tips every week!
Join 25,000+ intelligent readers and receive AI tips every Tuesday!
Hi Reader, This week, I've got a short tip about AI agents, followed by some Data School news... 👉 Tip #56: What are AI agents? Google is calling 2025 "the agentic era," DeepLearning.AI says "the agentic era is upon us," and NVIDIA's founder says "one of the most important things happening in the world of enterprise is agentic AI." Clearly AI agents are a big deal, but what exactly are they? Simply put, an AI agent is an application that uses a Large Language Model (LLM) to control its...
Hi Reader, Last week, I launched a brand new course: Build an AI chatbot with Python. 120+ people enrolled, and a few have already completed the course! 👏 Want to join us for $9? 👉 Tip #55: Should you still learn to code in 2025? You’ve probably heard that Large Language Models (LLMs) are excellent at writing code: They are competitive with the best human coders. They can create a full web application from a single prompt. LLM-powered tools like Cursor and Copilot can autocomplete or even...
Hi Reader, The Python 14-Day Challenge starts tomorrow! Hope to see you there 🤞 👉 Tuesday Tip: My top 5 sources for keeping up with AI I'll state the obvious: AI is moving incredibly FAST 💨 Here are the best sources I follow to keep up with the most important developments in Artificial Intelligence: The Neuron (daily newsletter) My top recommendation for a general audience. It’s fun, informative, and well-written. It includes links to the latest AI news and tools, but the real goldmine is...