Queer European MD passionate about IT
浏览代码

Fix https://app.asana.com/0/1109607871564464/1159401741654574/f

bruno 5 年之前
父节点
当前提交
f63d08dca9
共有 1 个文件被更改,包括 2 次插入2 次删除
  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,