From f47542d7b0affb6b89a9f9d4e118091d41d11a0f Mon Sep 17 00:00:00 2001 From: Valentine Kweyu Date: Sun, 8 Jun 2025 21:30:13 +0300 Subject: [PATCH 1/3] import relevant libraries --- student.ipynb | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/student.ipynb b/student.ipynb index d3bb34af..848dcdb6 100644 --- a/student.ipynb +++ b/student.ipynb @@ -22,11 +22,23 @@ "source": [ "# Your code here - remember to use markdown cells for comments as well!" ] + }, + { + "cell_type": "code", + "execution_count": 2, + "metadata": {}, + "outputs": [], + "source": [ + "# Import Relevant libraries\n", + "import pandas as pd\n", + "import sqlite3\n", + "import gzip" + ] } ], "metadata": { "kernelspec": { - "display_name": "Python 3", + "display_name": "learn-env", "language": "python", "name": "python3" }, @@ -40,7 +52,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.6.4" + "version": "3.8.5" } }, "nbformat": 4, From c7b6d1787733f095c8a14d228672b0ccecd28c4c Mon Sep 17 00:00:00 2001 From: Shem Nderitu Date: Sun, 8 Jun 2025 21:53:49 +0300 Subject: [PATCH 2/3] Create a connection --- student.ipynb | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/student.ipynb b/student.ipynb index 848dcdb6..34d22ecc 100644 --- a/student.ipynb +++ b/student.ipynb @@ -25,15 +25,25 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ "# Import Relevant libraries\n", "import pandas as pd\n", - "import sqlite3\n", "import gzip" ] + }, + { + "cell_type": "code", + "execution_count": 6, + "metadata": {}, + "outputs": [], + "source": [ + "# Connect to the SQLite database\n", + "import sqlite3\n", + "import numpy as np\n" + ] } ], "metadata": { From a009fe8718edb9ad4f22e2792cb1bb21d55a7274 Mon Sep 17 00:00:00 2001 From: Mercy Barminga Date: Sun, 8 Jun 2025 22:10:30 +0300 Subject: [PATCH 3/3] modify data analysis heading --- student.ipynb | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/student.ipynb b/student.ipynb index 34d22ecc..d3e14335 100644 --- a/student.ipynb +++ b/student.ipynb @@ -16,7 +16,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 1, "metadata": {}, "outputs": [], "source": [ @@ -25,7 +25,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 2, "metadata": {}, "outputs": [], "source": [ @@ -36,7 +36,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 3, "metadata": {}, "outputs": [], "source": [ @@ -44,6 +44,13 @@ "import sqlite3\n", "import numpy as np\n" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Data Analysis" + ] } ], "metadata": {