Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0df29b0

Browse files
authored
Merge branch 'main' into Pandas.05.1-06.3
2 parentsb3898ae +4c21006 commit0df29b0

File tree

36 files changed

+597
-142
lines changed

36 files changed

+597
-142
lines changed
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
#`00` Welcome to Pandas!
2+
3+
¡Estamos muy entusiasmados por tenerte aquí! 🎉 😂
4+
5+
Ser un desarrollador de Machine Learning sin Pandas es como ser un obrero sin un martillo. ¿Por qué te someterías a ese ajetreo?
6+
7+
>Pandas tiene tantos beneficios que no tenemos suficiente tiempo para ennumerarlos, asi que aquí hay algunos:
8+
9+
1. Representación de Datos: esto te ayuda a analizar y entender mejor los datos. Datos más simples = mejores resultados.
10+
11+
2. Menos escritura y más trabajo hecho.
12+
13+
3. Un amplio conjunto de funciones Analiza tus datos, filtrado de datos o segmentación y segregación de los datos según sus preferencias, etc.
14+
15+
4. Maneja eficientemente grandes cantidades de datos: mucho tiempo importando grandes cantidades de datos muy rápido.
16+
17+
5. Hace los datos flexibles y personalizables: personalizar, editar y pivotar. Aprovecha al máximo tus datos.
18+
19+
##💬 Fundamentos:
20+
21+
Durante este curso te vamos a enseñar las funcionalidades más populares de Pandas, y a ayudarte a escribir tu propio código de Python con ello. Vas a estar a estar aprendiendo:
22+
23+
+ Cómo instalar Pandas.
24+
25+
+ Cómo descargar un Dataset (Conjunto de Datos).
26+
27+
+ Cómo crear una serie.
28+
29+
+ Sobre el Data Frame (Marco de Datos) de Pandas.
30+
31+
+ Sobre los DataSets.
32+
33+
##Lecturas Útiles:
34+
35+
+[https://www.w3schools.com/python/pandas/pandas_intro.asp](https://www.w3schools.com/python/pandas/pandas_intro.asp)
36+
37+
+[https://profile.es/blog/pandas-python/](https://profile.es/blog/pandas-python/)
38+
39+
##Video Útil:
40+
41+
+[https://youtu.be/Mm1L4Bde6_w](https://youtu.be/Mm1L4Bde6_w)
42+
43+
##Colaboradores:
44+
45+
Gracias a estas maravillosas personas ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):
46+
47+
1.[Alejandro Sánchez (alesanchezr)](https://github.com/alesanchezr), contribución: (programador):computer: (idea) 🤔, (build-tests):warning:, (pull-request-review):eyes: (build-tutorial):white_check_mark: (documentación):book:
48+
49+
2.[Paolo Lucano (plucodev)](https://github.com/plucodev), contribución: (programador):computer:, (build-tests):warning:
50+
51+
3.[Marco Gómez (marcogonzalo)](https://github.com/marcogonzalo), contribución: (traducción):earth_africa:
52+
53+
Este proyecto sigue las especificaciones:[all-contributors](https://github.com/kentcdodds/all-contributors).
54+
55+
¡Todas las contribuciones son bienvenidas!
56+
57+
Nota: Haz clic en`next` arriba de estas instrucciones para empezar con el primer ejercicio.

‎.learn/exercises/00-welcome/README.md

Lines changed: 48 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,61 @@
11
#`00` Welcome to Pandas!
22

3-
Being a Machine Learning developer without Pandas is like being a handyman without a hammer.
3+
We are very excited to have you here! 🎉 😂
44

5-
Why would you put yourselfthru that husle?
5+
Being a Machine Learning developer without Pandas is like being a handyman without a hammer.Why would you put yourselfthrough that husle?
66

7-
Pandas has so many benefits that we don't have enought time to list them all, so hereis just a few:
7+
>Pandas has so many benefits that we don't have enought time to list them all, so hereare just a few:
88
99
1. Data representation: This helps to analyze and understand data better. Simpler data = better results.
10-
2. Less writing and more work done
10+
11+
2. Less writing and more work done.
12+
1113
3. An extensive set of features Analyze your data, data filtering, or segmenting and segregating the data according to preference, etc.
14+
1215
4. Efficiently handles large data: a lot of time by importing large amounts of data very fast.
16+
1317
5. Makes data flexible and customizable: customize, edit and pivot. Get the most out of your data.
1418

15-
##📝 Instructions
19+
##💬 Fundamentals:
20+
21+
During this course we are going to show you the most popular Pandas functionalities and help you write your own python code with Pandas. You will be learning:
22+
23+
+ How to open a new terminal.
24+
25+
+ How to install Pandas.
26+
27+
+ To download the Dataset.
28+
29+
+ How to create a series.
30+
31+
+ Pandas´ Data Frame.
32+
33+
+ Clean up DataSets.
34+
35+
##Useful Readings:
36+
37+
+[https://pandas.pydata.org/about/](https://pandas.pydata.org/about/)
38+
39+
+[https://www.w3schools.com/python/pandas/pandas_intro.asp](https://www.w3schools.com/python/pandas/pandas_intro.asp)
40+
41+
##Useful Video:
42+
43+
+[https://youtu.be/dcqPhpY7tWk](https://youtu.be/dcqPhpY7tWk)
44+
45+
##Contributors:
46+
47+
Thanks to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):
48+
49+
1.[Alejandro Sanchez (alesanchezr)](https://github.com/alesanchezr), contribution: (coder):computer: (idea) 🤔, (build-tests):warning:, (pull-request-review):eyes: (build-tutorial):white_check_mark: (documentation):book:
50+
51+
2.[Paolo Lucano (plucodev)](https://github.com/plucodev), contribution: (coder), (build-tests):warning:
52+
53+
3.[Marco Gómez (marcogonzalo)](https://github.com/marcogonzalo), contribution: (translator):earth_africa:
54+
55+
This project follows these specifications:[all-contributors](https://github.com/kentcdodds/all-contributors)
56+
57+
Contributions of any kind are welcome!
1658

17-
During the next exercises, we show you the most popular Pandas functionalities and help you write your own python code with Pandas.
1859

19-
Please click the`next ->` button on the top right of these instructions.
60+
Note:Please click the`next ->` button on the top right of these instructions.
2061

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#`01` How to open a new terminal
2+
3+
Este motor de ejercicios se hace cargo de tu terminal, eso significa que no puedes escribir en el terminal actual en la parte inferior de tu pantalla.
4+
5+
##📝 Instrucciones:
6+
7+
1. En orden de que puedas completar este tutorial, tienes que abrir un nuevo terminal. Eso lo puedes hacer dánadole ´clic´ en el menu estilo hamburguesa en la parte superior izquierda de tu pantalla y eligiendo la opción:
8+
9+
```bash
10+
menu => terminal => new terminal
11+
```
12+
13+
![nuevo terminal](../../assets/new-terminal.png)
14+
15+
##💡 Pista:
16+
17+
+ Tienes una lista de todos los terminales abiertos en la parte inferior derecha de tu pantalla, siempre puedes cambiar entre terminales o crear nuevos
18+
19+
![terminal](../../assets/terminal.gif)
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#`01` How to open a new terminal
2+
3+
This exercise engine takes over your terminal, meaning that you cannot type on the current terminal at the bottom of your screen.
4+
5+
##📝 Instructions:
6+
7+
1. In order to complete this tutorial, you have to open new a new terminal and you can do so by clicking on the hamburger menu on the top left of the screen and choosing the option:
8+
9+
```bash
10+
menu => terminal => new terminal
11+
```
12+
13+
![new terminal](../../assets/new-terminal.png)
14+
15+
##💡 Hint:
16+
17+
+ You have a list of all the opened terminals on the bottom-right side of the screen, you can always swap between terminals or create new ones:
18+
19+
![terminal](../../assets/terminal.gif)

‎.learn/exercises/01-terminal/README.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

‎.learn/exercises/01.2-Pipenv/README.md

Lines changed: 0 additions & 23 deletions
This file was deleted.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#`01.2` Pipenv: Package Manager
2+
3+
Antes de empezar cuaquier proyecto de Python, siempre es buena idea crear un nuevo enviroment (entorno). Los entornos aislados de Python previenen errores y hacen que su aplicación sea independiente.
4+
5+
Estamos utilizando ´pipenv´ como nuestro administrador de paquetes y entornos.
6+
7+
##📝 Instrucciones:
8+
9+
1. Crea un nuevo entorno. Escribe lo siguiente en tu terminal:
10+
11+
```bash
12+
$ pipenv shell
13+
```
14+
15+
##Resultado Esperado:
16+
17+
Lee la línea de comando resultante, debería de decir "Lanching subshell...."("Subcapa de lanzamiento....") y ningún error debería ser visible.
18+
19+
![pipenv](../../assets/pipenv.png)
20+
21+
##💡 Pista:
22+
23+
+ No incluyas el símbolo`$`.
24+
25+
+ Cada vez que abres un nuevo terminal (también conocido como línea de comando), vas a tener que entrar de nuevo en el entorno escribiendo`pipenv shell`.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#`01.2` Pipenv: Package Manager
2+
3+
Before starting any Python project is always a good idea to create a new environment. An isolated Python environment prevents bugs and makes your application independent.
4+
5+
We are using pipenv as our package and environment manager.
6+
7+
##📝 Instructions:
8+
9+
1. Create a new environment. Type the following in your terminal:
10+
11+
```bash
12+
$ pipenv shell
13+
```
14+
15+
##Expected Result:
16+
17+
Read the command line output, it should say that "Lanching subshell...." and no error should be visible.
18+
19+
![pipenv](../../assets/pipenv.png)
20+
21+
##💡 Hint:
22+
23+
+ Do not include the`$` symbol.
24+
25+
+ Every time you open a new terminal (a.k.a: command line) you will have to enter into the enviroment again by typing`pipenv shell`.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#`02` Installing Pandas
2+
3+
Iniciemos nuestro entorno instalando Pandas.
4+
5+
En internet vas a encontrar el comando`pip`, utilizado para instalar paquetes de Python. Nosotros preferimos usar[pipenv](https://pipenv.pypa.io/en/latest/) ya que proporciona más funcionalidad y evita futuros dolores de cabeza de mantenimiento al combinar las librerías[pip](https://pip.pypa.io/en/stable/) y[virtual env](https://virtualenv.pypa.io/en/latest/).
6+
7+
##📝 Instrucciones:
8+
9+
1. Por favor, escribe el siguiente comando en el terminal:
10+
11+
```bash
12+
$ pipenv install pandas
13+
```
14+
##💡 Pista:
15+
16+
+ Deberías ver en tu terminal una salida como esta:
17+
18+
![Pipenv isntall pandas](../../assets/pipenv-pandas.png)
19+
20+
##🔎 Importante:
21+
22+
+ Recuerda que debes estar adentro del entorno shell de ahora en adelante.

‎.learn/exercises/02-installation/README.mdrenamed to‎.learn/exercises/02-Installing_Pandas/README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,21 @@
22

33
Let's kickoff our environment by installing Pandas.
44

5-
Over the internet you will find the`pip` command being used to installpython packages, we prefer to use[pipenv](https://pipenv.pypa.io/en/latest/) as it provides more functionality and avoids future maintance headaches by combining[pip](https://pip.pypa.io/en/stable/) and[virtual env](https://virtualenv.pypa.io/en/latest/) libraries.
5+
Over the internet you will find the`pip` command being used to installPython packages. We prefer to use[pipenv](https://pipenv.pypa.io/en/latest/) as it provides more functionality and avoids future maintance headaches by combining[pip](https://pip.pypa.io/en/stable/) and[virtual env](https://virtualenv.pypa.io/en/latest/) libraries.
66

7-
Please type the following command in the terminal:
7+
##📝 Instructions:
8+
9+
1. Please, type the following command in the terminal:
810

911
```bash
1012
$ pipenv install pandas
1113
```
14+
##💡 Hint:
1215

13-
You should see in your terminal an output like this:
16+
+You should see in your terminal an output like this:
1417

1518
![Pipenv isntall pandas](../../assets/pipenv-pandas.png)
1619

17-
##🚨 Important:
20+
##🔎 Important:
1821

19-
Remember you have to be inside the evironment shell from now on.
22+
+Remember you have to be inside the evironment shell from now on.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#`02.2` Create your script
2+
3+
Python es un lenguaje de secuencias de comandos, lo que significa que para ejecutar el código de Python no es necesario copilar, todo lo que tienes que hacer es crear un archivo con la extensión`.py` y correrlo utilizando`python name_of_file.py`.
4+
5+
Vamos a crear nuestro primer Python script.
6+
7+
##📝 Instrucciones:
8+
9+
1. Crea un nuevo archivo`app.py` en la raíz del proyecto. (Asegúrate de que estás en la raíz).
10+
11+
2. Añade el código para imprimir "hello world" en el terminal utilizando la función`print`.
12+
13+
```py
14+
print("Hello World")
15+
```
16+
3. Corre tu Python script escribiento en el terminal`$ python app.py`.
17+
18+
##Resultado Esperado:
19+
20+
Luego de que corres el comando deberías ver algo así:
21+
22+
![print file](../../assets/hello.png)
23+
24+
##💡 Pista:
25+
26+
+ Tu archivo`app.py` debe estar al lado de los archivos`.gitignore`,`learn.json` o`Pipfile` . También puedes crear el archivo utilizando el comando terminal:`$ touch app.py` y abrirlo dándole doble clic en el nombre del archivo o escribiendo`$ code app.py`.
27+
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#`02.2` Create your script
2+
3+
Python is a scripting language, meaning that to run a Python code you don't need to compile, all you have to do is create a file with the`.py` extension and run it by using`python name_of_file.py`.
4+
5+
Let's create our first python script.
6+
7+
##📝 Instructions:
8+
9+
1. Create a new`app.py` file in the root of the project. (Make sure you are in the root).
10+
11+
2. Add the code to print "hello world" on the terminal using the`print` function.
12+
13+
```py
14+
print("Hello World")
15+
```
16+
17+
3. Run your Python script by typing on the terminal`$ python app.py`.
18+
19+
##Expected Result:
20+
21+
After you run the command you should see something like this:
22+
23+
![print file](../../assets/hello.png)
24+
25+
##💡 Hint:
26+
27+
+ Your`app.py` file must be next to the`.gitignore`,`learn.json` or`Pipfile` files.
28+
You can also create the file using the terminal command:`$ touch app.py` and open it by double clicking on the file name or typing`$ code app.py`.

‎.learn/exercises/02.2-create-script/README.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp