Skip to content

Commit 58dd50b

Browse files
committed
R + Python con reticulate
1 parent e7c723b commit 58dd50b

79 files changed

Lines changed: 1488 additions & 1 deletion

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ejercicios/data_frame_plot.png

50.9 KB
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"cells": [],
3+
"metadata": {},
4+
"nbformat": 4,
5+
"nbformat_minor": 2
6+
}

scripts/tema1/07-io.ipynb

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"metadata": {},
6+
"source": [
7+
"# Entrada y salida de datos"
8+
]
9+
},
10+
{
11+
"cell_type": "code",
12+
"execution_count": 1,
13+
"metadata": {},
14+
"outputs": [
15+
{
16+
"name": "stdout",
17+
"output_type": "stream",
18+
"text": [
19+
"Hola, me llamo Juan Gabriel\n"
20+
]
21+
}
22+
],
23+
"source": [
24+
"print(\"Hola, me llamo Juan Gabriel\")"
25+
]
26+
},
27+
{
28+
"cell_type": "code",
29+
"execution_count": 6,
30+
"metadata": {},
31+
"outputs": [
32+
{
33+
"name": "stdout",
34+
"output_type": "stream",
35+
"text": [
36+
"5\n"
37+
]
38+
}
39+
],
40+
"source": [
41+
"x = 5\n",
42+
"print(x)"
43+
]
44+
},
45+
{
46+
"cell_type": "code",
47+
"execution_count": 7,
48+
"metadata": {},
49+
"outputs": [
50+
{
51+
"name": "stdout",
52+
"output_type": "stream",
53+
"text": [
54+
"El valor de la variable x es: 5\n"
55+
]
56+
}
57+
],
58+
"source": [
59+
"print(\"El valor de la variable x es: \"+str(x))"
60+
]
61+
},
62+
{
63+
"cell_type": "code",
64+
"execution_count": null,
65+
"metadata": {},
66+
"outputs": [],
67+
"source": [
68+
"texto = input(\"Introduce aquí tu nombre: \")"
69+
]
70+
},
71+
{
72+
"cell_type": "code",
73+
"execution_count": null,
74+
"metadata": {},
75+
"outputs": [],
76+
"source": []
77+
}
78+
],
79+
"metadata": {
80+
"kernelspec": {
81+
"display_name": "Python 3",
82+
"language": "python",
83+
"name": "python3"
84+
},
85+
"language_info": {
86+
"codemirror_mode": {
87+
"name": "ipython",
88+
"version": 3
89+
},
90+
"file_extension": ".py",
91+
"mimetype": "text/x-python",
92+
"name": "python",
93+
"nbconvert_exporter": "python",
94+
"pygments_lexer": "ipython3",
95+
"version": "3.5.5"
96+
}
97+
},
98+
"nbformat": 4,
99+
"nbformat_minor": 2
100+
}

scripts/tema12/01-diamonds.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ output: html_document
66
---
77

88
```{r setup, include=FALSE}
9-
knitr::opts_chunk$set(echo = TRUE)
9+
knitr::opts_chunk$set(echo = TRUE, cache = TRUE)
1010
```
1111

1212
# Análisis de los diamantes
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
base
Binary file not shown.

scripts/tema12/01-diamonds_cache/html/unnamed-chunk-10_4779ac4a62c84c0a676202a8ae084b0e.rdb

Whitespace-only changes.
Binary file not shown.
Binary file not shown.

scripts/tema12/01-diamonds_cache/html/unnamed-chunk-1_096a7a0b64254b3c70c246e7568ba470.rdb

Whitespace-only changes.

0 commit comments

Comments
 (0)