Queer European MD passionate about IT
Browse Source

Replace method for the one in the instructions

Bruno @ Dataquest 3 years ago
parent
commit
b079d758be
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Mission610Solutions.ipynb

+ 1 - 1
Mission610Solutions.ipynb

@@ -436,7 +436,7 @@
     }
    ],
    "source": [
-    "countries_frequency = df.groupby(\"Country\").count()\n",
+    "countries_frequency = df.groupby(\"Country\").value_counts()\n",
     "print_pretty_table(countries_frequency)"
    ]
   },