From cd4f8bf8b78677070897d030e192cf1a14fabeea Mon Sep 17 00:00:00 2001
From: Jhonatan Mackalister <87587593+Jmackalister@users.noreply.github.com>
Date: Mon, 4 Sep 2023 21:23:26 -0500
Subject: [PATCH] Creado con Colaboratory
---
.../04-stats-and-probability/assignment.ipynb | 337 +++++++++++++++---
1 file changed, 278 insertions(+), 59 deletions(-)
diff --git a/1-Introduction/04-stats-and-probability/assignment.ipynb b/1-Introduction/04-stats-and-probability/assignment.ipynb
index 4bc3180b..45018741 100644
--- a/1-Introduction/04-stats-and-probability/assignment.ipynb
+++ b/1-Introduction/04-stats-and-probability/assignment.ipynb
@@ -1,15 +1,5 @@
{
"cells": [
- {
- "cell_type": "markdown",
- "metadata": {
- "id": "view-in-github",
- "colab_type": "text"
- },
- "source": [
- ""
- ]
- },
{
"cell_type": "markdown",
"source": [
@@ -24,7 +14,7 @@
},
{
"cell_type": "code",
- "execution_count": 29,
+ "execution_count": 37,
"source": [
"import pandas as pd\n",
"import numpy as np\n",
@@ -32,23 +22,28 @@
"import matplotlib.pyplot as plt\n",
"\n",
"df = pd.read_csv(\"https://raw.githubusercontent.com/Jmackalister/Data-Science-For-Beginners/main/data/diabetes.tsv\",sep='\\t')\n",
- "df.head()"
+ "df.head(10)"
],
"outputs": [
{
"output_type": "execute_result",
"data": {
"text/plain": [
- " AGE SEX BMI BP S1 S2 S3 S4 S5 S6 Y\n",
- "0 59 2 32.1 101.0 157 93.2 38.0 4.0 4.8598 87 151\n",
- "1 48 1 21.6 87.0 183 103.2 70.0 3.0 3.8918 69 75\n",
- "2 72 2 30.5 93.0 156 93.6 41.0 4.0 4.6728 85 141\n",
- "3 24 1 25.3 84.0 198 131.4 40.0 5.0 4.8903 89 206\n",
- "4 50 1 23.0 101.0 192 125.4 52.0 4.0 4.2905 80 135"
+ " AGE SEX BMI BP S1 S2 S3 S4 S5 S6 Y\n",
+ "0 59 2 32.1 101.0 157 93.2 38.0 4.00 4.8598 87 151\n",
+ "1 48 1 21.6 87.0 183 103.2 70.0 3.00 3.8918 69 75\n",
+ "2 72 2 30.5 93.0 156 93.6 41.0 4.00 4.6728 85 141\n",
+ "3 24 1 25.3 84.0 198 131.4 40.0 5.00 4.8903 89 206\n",
+ "4 50 1 23.0 101.0 192 125.4 52.0 4.00 4.2905 80 135\n",
+ "5 23 1 22.6 89.0 139 64.8 61.0 2.00 4.1897 68 97\n",
+ "6 36 2 22.0 90.0 160 99.6 50.0 3.00 3.9512 82 138\n",
+ "7 66 2 26.2 114.0 255 185.0 56.0 4.55 4.2485 92 63\n",
+ "8 60 2 32.1 83.0 179 119.4 42.0 4.00 4.4773 94 110\n",
+ "9 29 1 30.0 85.0 180 93.4 43.0 4.00 5.3845 88 310"
],
"text/html": [
"\n",
- "