Explorar o código

Fixes to the Titanic tutorial

Marc Garcia %!s(int64=7) %!d(string=hai) anos
pai
achega
04c2c3ee83
Modificáronse 2 ficheiros con 2 adicións e 20 borrados
  1. 0 20
      01_Basic_operations.ipynb
  2. 2 0
      solutions/titanic_3.py

+ 0 - 20
01_Basic_operations.ipynb

@@ -385,26 +385,6 @@
    ]
   },
   {
-   "cell_type": "code",
-   "execution_count": null,
-   "metadata": {
-    "scrolled": true
-   },
-   "outputs": [],
-   "source": [
-    "full_names.str.split('.').str[0].value_counts()"
-   ]
-  },
-  {
-   "cell_type": "code",
-   "execution_count": null,
-   "metadata": {},
-   "outputs": [],
-   "source": [
-    "titanic.loc[full_names.str.startswith('Capt.'), ('Name', 'Age', 'Pclass')]"
-   ]
-  },
-  {
    "cell_type": "markdown",
    "metadata": {},
    "source": [

+ 2 - 0
solutions/titanic_3.py

@@ -1 +1,3 @@
+full_names.str.split('.').str[0].value_counts()
+
 titanic.loc[full_names.str.startswith('Capt.'), ('Name', 'Age', 'Pclass')]