From 4e61771bfd639b32146d2dfbfdc12ecbe70c90b6 Mon Sep 17 00:00:00 2001 From: zilto Date: Thu, 7 Nov 2024 07:55:53 -0500 Subject: [PATCH] fix example notebook --- examples/pandas/with_columns/notebook.ipynb | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/examples/pandas/with_columns/notebook.ipynb b/examples/pandas/with_columns/notebook.ipynb index 13def7566..49eca8ed7 100644 --- a/examples/pandas/with_columns/notebook.ipynb +++ b/examples/pandas/with_columns/notebook.ipynb @@ -1,10 +1,20 @@ { "cells": [ + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# Execute this cell to install dependencies\n", + "%pip install sf-hamilton[visualization]" + ] + }, { "cell_type": "markdown", "metadata": {}, "source": [ - "# Example of using with_columns for Pandas\n", + "# Example of using with_columns for Pandas [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/dagworks-inc/hamilton/blob/main/examples/pandas/with_columns/notebook.ipynb) [![GitHub badge](https://img.shields.io/badge/github-view_source-2b3137?logo=github)](https://github.com/dagworks-inc/hamilton/blob/main/examples/pandas/with_columns/notebook.ipynb)\n", "\n", "This allows you to efficiently run groups of map operations on a dataframe.\n", "Here's an example of calling it -- if you've seen `@subdag`, you should be familiar with the concepts."