Queer European MD passionate about IT
Browse Source

Merge pull request #100 from dataquestio/bug/bruno/20200301

Fix GP 350's Solution
Bruno 5 years ago
parent
commit
ad5ad3fcc9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Mission350Solutions.ipynb

+ 2 - 2
Mission350Solutions.ipynb

@@ -423,7 +423,7 @@
     "- We start by initializing two empty lists, `android_clean` and `already_added`.\n",
     "- We loop through the `android` data set, and for every iteration:\n",
     "    - We isolate the name of the app and the number of reviews.\n",
-    "    - We add the current row (`app`) to the `android_clean` list, and the app name (`name`) to the `already_cleaned` list if:\n",
+    "    - We add the current row (`app`) to the `android_clean` list, and the app name (`name`) to the `already_added` list if:\n",
     "        - The number of reviews of the current app matches the number of reviews of that app as described in the `reviews_max` dictionary; and\n",
     "        - The name of the app is not already in the `already_added` list. We need to add this supplementary condition to account for those cases where the highest number of reviews of a duplicate app is the same for more than one entry (for example, the Box app has three entries, and the number of reviews is the same). If we just check for `reviews_max[name] == n_reviews`, we'll still end up with duplicate entries for some apps."
    ]
@@ -1976,7 +1976,7 @@
    "name": "python",
    "nbconvert_exporter": "python",
    "pygments_lexer": "ipython3",
-   "version": "3.7.5"
+   "version": "3.7.6"
   }
  },
  "nbformat": 4,