Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5,029 changes: 5,029 additions & 0 deletions Labs/Python_Notebooks/LAB1/.ipynb_checkpoints/Python_tutorial-checkpoint.ipynb

Large diffs are not rendered by default.

49 changes: 36 additions & 13 deletions Labs/Python_Notebooks/LAB1/Python_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,29 @@
},
{
"cell_type": "code",
"execution_count": 265,
"execution_count": 4,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Requirement already satisfied: pandas in c:\\users\\pc\\.conda\\envs\\rstudio\\lib\\site-packages (1.3.5)Note: you may need to restart the kernel to use updated packages.\n",
"\n",
"Requirement already satisfied: numpy in c:\\users\\pc\\.conda\\envs\\rstudio\\lib\\site-packages (1.21.6)\n",
"Requirement already satisfied: pytz>=2017.3 in c:\\users\\pc\\.conda\\envs\\rstudio\\lib\\site-packages (from pandas) (2025.2)\n",
"Requirement already satisfied: python-dateutil>=2.7.3 in c:\\users\\pc\\.conda\\envs\\rstudio\\lib\\site-packages (from pandas) (2.8.2)\n",
"Requirement already satisfied: six>=1.5 in c:\\users\\pc\\.conda\\envs\\rstudio\\lib\\site-packages (from python-dateutil>=2.7.3->pandas) (1.16.0)\n"
]
}
],
"source": [
"pip install pandas numpy"
]
},
{
"cell_type": "code",
"execution_count": 7,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -68,7 +90,7 @@
},
{
"cell_type": "code",
"execution_count": 269,
"execution_count": 10,
"metadata": {},
"outputs": [
{
Expand All @@ -77,14 +99,14 @@
"int"
]
},
"execution_count": 269,
"execution_count": 10,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"# Int type\n",
"edad = 25\n",
"edad = 22\n",
"edad\n",
"\n",
"type(edad)"
Expand Down Expand Up @@ -114,7 +136,7 @@
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": 11,
"metadata": {},
"outputs": [
{
Expand All @@ -123,7 +145,7 @@
"complex"
]
},
"execution_count": 14,
"execution_count": 11,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -136,7 +158,7 @@
},
{
"cell_type": "code",
"execution_count": 271,
"execution_count": 12,
"metadata": {},
"outputs": [
{
Expand All @@ -145,7 +167,7 @@
"str"
]
},
"execution_count": 271,
"execution_count": 12,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -159,22 +181,23 @@
},
{
"cell_type": "code",
"execution_count": 272,
"execution_count": 16,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"'H'"
"'Hola'"
]
},
"execution_count": 272,
"execution_count": 16,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"mensaje[0]"
"mensaje[0:4]\n",
"#Slicing"
]
},
{
Expand Down Expand Up @@ -5000,7 +5023,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.4"
"version": "3.7.1"
}
},
"nbformat": 4,
Expand Down
Loading