diff --git a/notebooks/componentization/w10-intake-potatos-step01.ipynb b/notebooks/componentization/w10-intake-potatos-step01.ipynb index ef0d1374..0508f08e 100644 --- a/notebooks/componentization/w10-intake-potatos-step01.ipynb +++ b/notebooks/componentization/w10-intake-potatos-step01.ipynb @@ -30,7 +30,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "Writing output for /home/santanche/git/component2learn/notebooks/componentization/fa07383b-d7c0-491d-8a06-88fe7b778fc6.uml to fa07383b-d7c0-491d-8a06-88fe7b778fc6.svg\n" + "Writing output for /home/santanche/git/component2learn/notebooks/componentization/16eb1d75-dcbf-4880-9cd1-c21c5679b0f2.uml to 16eb1d75-dcbf-4880-9cd1-c21c5679b0f2.svg\n" ] }, { diff --git a/notebooks/componentization/w10-intake-potatos-step03.ipynb b/notebooks/componentization/w10-intake-potatos-step03.ipynb index fffc6f24..9aa5bdc1 100644 --- a/notebooks/componentization/w10-intake-potatos-step03.ipynb +++ b/notebooks/componentization/w10-intake-potatos-step03.ipynb @@ -69,7 +69,8 @@ " self.file_path = file_path\n", "\n", " def connect(self, component):\n", - " component.update(pd.read_csv(self.file_path))" + " df = pd.read_csv(self.file_path)\n", + " component.update(df)" ] }, { diff --git a/notebooks/componentization/w10-intake-potatos-step04.ipynb b/notebooks/componentization/w10-intake-potatos-step04.ipynb index a1198127..148834be 100644 --- a/notebooks/componentization/w10-intake-potatos-step04.ipynb +++ b/notebooks/componentization/w10-intake-potatos-step04.ipynb @@ -30,7 +30,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "Writing output for /home/santanche/git/component2learn/notebooks/componentization/bf23c282-6d67-4964-a58b-601e74a1a5be.uml to bf23c282-6d67-4964-a58b-601e74a1a5be.svg\n" + "Writing output for /home/santanche/git/component2learn/notebooks/componentization/49ff6eee-9656-46ad-a766-b40b614bdcae.uml to 49ff6eee-9656-46ad-a766-b40b614bdcae.svg\n" ] }, { @@ -88,7 +88,7 @@ " self._file_path = value\n", " self._data = pd.read_csv(self._file_path)\n", " if self._connected is not None:\n", - " self._connected(self._data)\n", + " self._connected.update(self._data)\n", "\n", " def connect(self, component):\n", " self._connected = component\n", @@ -106,7 +106,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "Writing output for /home/santanche/git/component2learn/notebooks/componentization/b13ad9d8-cdf6-4dc4-bad8-88364e8adafb.uml to b13ad9d8-cdf6-4dc4-bad8-88364e8adafb.svg\n" + "Writing output for /home/santanche/git/component2learn/notebooks/componentization/69a16a9c-f458-456f-b9b5-8ed43d2825f2.uml to 69a16a9c-f458-456f-b9b5-8ed43d2825f2.svg\n" ] }, { @@ -216,7 +216,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "Writing output for /home/santanche/git/component2learn/notebooks/componentization/0bf07683-7ec2-42b1-ba3d-84299dabccc6.uml to 0bf07683-7ec2-42b1-ba3d-84299dabccc6.svg\n" + "Writing output for /home/santanche/git/component2learn/notebooks/componentization/cd6aebd5-d0b8-4eff-8b74-f79cd181ba20.uml to cd6aebd5-d0b8-4eff-8b74-f79cd181ba20.svg\n" ] }, {