diff --git a/datasets/Titanic.ipynb b/datasets/Titanic.ipynb index 8f24204..99d4865 100644 --- a/datasets/Titanic.ipynb +++ b/datasets/Titanic.ipynb @@ -10,7 +10,7 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": 3, "id": "ecd595e6-4de0-45f1-8022-92ad3c47e540", "metadata": {}, "outputs": [ @@ -18,19 +18,10 @@ "name": "stdout", "output_type": "stream", "text": [ - "Collecting pandas\n", - " Downloading pandas-3.0.6-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.metadata (79 kB)\n", - "Collecting numpy>=2.3.3 (from pandas)\n", - " Downloading numpy-2.5.3-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.metadata (6.6 kB)\n", + "Requirement already satisfied: pandas in /usr/local/python/3.14.2/lib/python3.14/site-packages (3.0.6)\n", + "Requirement already satisfied: numpy>=2.3.3 in /usr/local/python/3.14.2/lib/python3.14/site-packages (from pandas) (2.5.3)\n", "Requirement already satisfied: python-dateutil>=2.8.2 in /home/codespace/.local/lib/python3.14/site-packages (from pandas) (2.9.0.post0)\n", "Requirement already satisfied: six>=1.5 in /home/codespace/.local/lib/python3.14/site-packages (from python-dateutil>=2.8.2->pandas) (1.17.0)\n", - "Downloading pandas-3.0.6-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (10.8 MB)\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m10.8/10.8 MB\u001b[0m \u001b[31m44.2 MB/s\u001b[0m \u001b[33m0:00:00\u001b[0m6m0:00:01\u001b[0m\n", - "\u001b[?25hDownloading numpy-2.5.3-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (16.7 MB)\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m16.7/16.7 MB\u001b[0m \u001b[31m47.2 MB/s\u001b[0m \u001b[33m0:00:00\u001b[0m6m0:00:01\u001b[0m\n", - "\u001b[?25hInstalling collected packages: numpy, pandas\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m2/2\u001b[0m [pandas]2m1/2\u001b[0m [pandas]\n", - "\u001b[1A\u001b[2KSuccessfully installed numpy-2.5.3 pandas-3.0.6\n", "Requirement already satisfied: numpy in /usr/local/python/3.14.2/lib/python3.14/site-packages (2.5.3)\n" ] } @@ -39,7 +30,9 @@ "!pip install pandas\n", "!pip install numpy\n", "import pandas as pd\n", - "import numpy as np" + "import numpy as np\n", + "\n", + "df = pd.read_csv('titanic.csv')" ] }, {