From 5358dc0ec6d07356f1be31cc8a2de08eac79c780 Mon Sep 17 00:00:00 2001 From: Amit Rathi Date: Mon, 30 Mar 2020 19:43:04 +0530 Subject: [PATCH] Test commit 5 --- notebooks/original-1.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notebooks/original-1.ipynb b/notebooks/original-1.ipynb index 1a82f745a..ab21e03bb 100644 --- a/notebooks/original-1.ipynb +++ b/notebooks/original-1.ipynb @@ -30,7 +30,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Up to this point we have been concerned mainly with tools to access and operate on array data with NumPy.\n", + "v5change -- Up to this point we have been concerned mainly with tools to access and operate on array data with NumPy.\n", "This section covers algorithms related to sorting values in NumPy arrays.\n", "These algorithms are a favorite topic in introductory computer science courses: if you've ever taken one, you probably have had dreams (or, depending on your temperament, nightmares) about *insertion sorts*, *selection sorts*, *merge sorts*, *quick sorts*, *bubble sorts*, and many, many more.\n", "All are means of accomplishing a similar task: sorting the values in a list or array.\n", @@ -48,7 +48,7 @@ "source": [ "import numpy as np\n", "\n", - "def selection_sort(x):\n", + "def v5_selection_sort(x):\n", " for i in range(len(x)):\n", " swap = i + np.argmin(x[i:])\n", " (x[i], x[swap]) = (x[swap], x[i])\n",