From bc76c66621f9c557899fb03423636b783c75d6e0 Mon Sep 17 00:00:00 2001 From: Swapnil Jha <swapniljha001@gmail.com> Date: Tue, 6 Feb 2024 15:28:05 +0100 Subject: [PATCH] Update 05a - Deep Neural Networks (TensorFlow).ipynb As of pandas 2.0, append (previously deprecated) was removed. --- 05a - Deep Neural Networks (TensorFlow).ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/05a - Deep Neural Networks (TensorFlow).ipynb b/05a - Deep Neural Networks (TensorFlow).ipynb index fe6b13a..fd54752 100644 --- a/05a - Deep Neural Networks (TensorFlow).ipynb +++ b/05a - Deep Neural Networks (TensorFlow).ipynb @@ -41,7 +41,7 @@ "# The dataset is too small to be useful for deep learning\r\n", "# So we'll oversample it to increase its size\r\n", "for i in range(1,3):\r\n", - " penguins = penguins.append(penguins)\r\n", + " penguins = pd.concat([penguins, penguins], ignore_index=True)\r\n", "\r\n", "# Display a random sample of 10 observations\r\n", "sample = penguins.sample(10)\r\n", @@ -436,4 +436,4 @@ }, "nbformat": 4, "nbformat_minor": 2 -} \ No newline at end of file +}