From 4a915d4e693df54047623e6ede2ca8bfbb1f169d Mon Sep 17 00:00:00 2001 From: shadowfishes Date: Thu, 20 Jun 2019 18:23:21 +0800 Subject: [PATCH] Update 100_Numpy_exercises.ipynb Update the solution of 49th to make it work on different numpy versions. --- 100_Numpy_exercises.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/100_Numpy_exercises.ipynb b/100_Numpy_exercises.ipynb index f3739ccc..fa8d9083 100644 --- a/100_Numpy_exercises.ipynb +++ b/100_Numpy_exercises.ipynb @@ -931,8 +931,8 @@ "metadata": {}, "outputs": [], "source": [ - "np.set_printoptions(threshold=np.nan)\n", - "Z = np.zeros((16,16))\n", + "np.set_printoptions(threshold=np.inf)\n", + "Z = np.zeros((32,32))\n", "print(Z)" ] },