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

exercises 00-welcome to 02.1-create-a-script#28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
alesanchezr merged 18 commits into4GeeksAcademy:mainfromjosemoracard:jose2-00-welcome
Feb 21, 2024
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
Show all changes
18 commits
Select commitHold shift + click to select a range
e6b23d8
Update README.md
josemoracardFeb 14, 2024
8b86b91
Update README.md
josemoracardFeb 14, 2024
0fa60de
Update README.md
josemoracardFeb 14, 2024
18f856e
Update README.es.md
josemoracardFeb 14, 2024
c517841
Update README.md
josemoracardFeb 14, 2024
92e4836
Update README.es.md
josemoracardFeb 14, 2024
33e6099
Update README.md
josemoracardFeb 14, 2024
8270d41
Update README.es.md
josemoracardFeb 14, 2024
d801eda
Update README.md
josemoracardFeb 14, 2024
3bfd4db
Update README.md
josemoracardFeb 14, 2024
dd5a27e
Update README.md
josemoracardFeb 14, 2024
968546b
Update README.md
josemoracardFeb 14, 2024
3eda4ed
Update README.es.md
josemoracardFeb 14, 2024
b1ba4e7
Update README.md
josemoracardFeb 14, 2024
5dcd8a5
Update README.es.md
josemoracardFeb 14, 2024
08e722e
Update README.md
josemoracardFeb 14, 2024
65c5ce4
Update README.es.md
josemoracardFeb 14, 2024
0f77741
Create solution.hide.py
josemoracardFeb 14, 2024
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
16 changes: 8 additions & 8 deletions.learn/exercises/00-welcome/README.es.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -4,15 +4,15 @@

Ser un desarrollador de Machine Learning sin Pandas es como ser un obrero sin un martillo. ¿Por qué te someterías a ese ajetreo?

> Pandas tiene tantos beneficios que no tenemos suficiente tiempo paraennumerarlos, asi que aquí hay algunos:
> Pandas tiene tantos beneficios que no tenemos suficiente tiempo paraenumerarlos, así que aquí hay algunos:

1. Representación de Datos: esto te ayuda a analizar y entender mejor los datos. Datos más simples = mejores resultados.

2. Menos escritura y más trabajo hecho.

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.
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.

4. Maneja eficientemente grandes cantidades de datos: mucho tiempo importando grandes cantidades de datos muy rápido.
4. Maneja eficientemente grandes cantidades de datos:ahorrasmucho tiempo importando grandes cantidades de datos muy rápido.

5. Hace los datos flexibles y personalizables: personalizar, editar y pivotar. Aprovecha al máximo tus datos.

Expand All@@ -26,7 +26,7 @@ Durante este curso te vamos a enseñar las funcionalidades más populares de Pan

+ Cómo crear una serie.

+ Sobre elData Frame (Marco de Datos) de Pandas.
+ Sobre elDataFrame (Marco de Datos) de Pandas.

+ Sobre los DataSets.

Expand All@@ -44,14 +44,14 @@ Durante este curso te vamos a enseñar las funcionalidades más populares de Pan

Gracias a estas maravillosas personas ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):

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:
1. [Alejandro Sánchez (alesanchezr)](https://github.com/alesanchezr), contribución: (programador)💻, (idea) 🤔, (build-tests)⚠️, (pull-request-review)👀, (build-tutorial)✅, (documentación)📖

2. [Paolo Lucano (plucodev)](https://github.com/plucodev), contribución: (programador):computer:, (build-tests):warning:
2. [Paolo Lucano (plucodev)](https://github.com/plucodev), contribución: (programador)💻, (build-tests)⚠️

3. [Marco Gómez (marcogonzalo)](https://github.com/marcogonzalo), contribución: (traducción):earth_africa:
3. [Marco Gómez (marcogonzalo)](https://github.com/marcogonzalo), contribución: (traducción)🌍

Este proyecto sigue las especificaciones: [all-contributors](https://github.com/kentcdodds/all-contributors).

¡Todas las contribuciones son bienvenidas!

Nota: Haz clic en `next` arriba de estas instrucciones para empezar con el primer ejercicio.
>Nota: Haz clic en `Next ->` arriba de estas instrucciones para empezar con el primer ejercicio.
24 changes: 11 additions & 13 deletions.learn/exercises/00-welcome/README.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -2,33 +2,31 @@

We are very excited to have you here! 🎉 😂

Being a Machine Learning developer without Pandas is like being a handyman without a hammer. Why would you put yourself through thathusle?
Being a Machine Learning developer without Pandas is like being a handyman without a hammer. Why would you put yourself through thathustle?

> Pandas has so many benefits that we don't haveenought time to list them all, so here are just a few:
> Pandas has so many benefits that we don't haveenough time to list them all, so here are just a few:

1. Data representation:This helps to analyze and understand data better. Simpler data = better results.
1. Data representation:this helps to analyze and understand data better. Simpler data = better results.

2. Less writing and more work done.

3. An extensive set of features Analyze your data, data filtering, or segmenting and segregating the data according to preference, etc.
3. An extensive set of features: analyze your data, data filtering, or segmenting and segregating the data according to preference, etc.

4. Efficiently handles large data: a lot of time by importing large amounts of data veryfast.
4. Efficiently handles large data:savesa lot of time by importing large amounts of data veryquickly.

5. Makes data flexible and customizable: customize, edit and pivot. Get the most out of your data.

## 💬 Fundamentals:

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:

+ How to open a new terminal.
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:

+ How to install Pandas.

+ To download the Dataset.

+ How to create a series.

+ Pandas´ Data Frame.
+ Pandas' DataFrame.

+ Clean up DataSets.

Expand All@@ -46,16 +44,16 @@ During this course we are going to show you the most popular Pandas functionalit

Thanks to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):

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:
1. [Alejandro Sanchez (alesanchezr)](https://github.com/alesanchezr), contribution: (coder)💻, (idea) 🤔, (build-tests)⚠️, (pull-request-review)👀, (build-tutorial)✅, (documentation)📖

2. [Paolo Lucano (plucodev)](https://github.com/plucodev), contribution: (coder), (build-tests):warning:
2. [Paolo Lucano (plucodev)](https://github.com/plucodev), contribution: (coder) 💻, (build-tests)⚠️

3. [Marco Gómez (marcogonzalo)](https://github.com/marcogonzalo), contribution: (translator):earth_africa:
3. [Marco Gómez (marcogonzalo)](https://github.com/marcogonzalo), contribution: (translator)🌍

This project follows these specifications: [all-contributors](https://github.com/kentcdodds/all-contributors)

Contributions of any kind are welcome!


Note: Please click the `next ->` button on the top right of these instructions.
>Note: Please click the `Next ->` button on the top right of these instructions.

12 changes: 6 additions & 6 deletions.learn/exercises/01-new-terminal/README.es.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
# `01` New Terminal

Este motor de ejerciciossehacecargo de tu terminal, eso significa que no puedes escribir en el terminal actual en la parte inferior de tu pantalla.
Este motor de ejercicios haceuso de tu terminal, eso significa que no puedes escribir en el terminal actual en la parte inferior de tu pantalla.

## 📝 Instrucciones:

1.En orden de que puedascompletar este tutorial, tienes que abrir un nuevo terminal. Eso lo puedes hacerdánadole ´clic´ en elmenu estilo hamburguesa en la parte superior izquierda de tu pantalla y eligiendo la opción:
1.Para podercompletar este tutorial, tienes que abrir un nuevo terminal. Eso lo puedes hacerdándole *clic* en elmenú estilo hamburguesa en la parte superior izquierda de tu pantalla y eligiendo la opción:

```bash
menu =>terminal =>new terminal
menu =>Terminal =>Nuevo terminal
```

![nuevo terminal](../../assets/new-terminal.png)
![Nuevo terminal](../../assets/new-terminal.png)

## 💡 Pista:

+ Tienes una lista de todos los terminales abiertos en la parte inferior derecha de tu pantalla, siempre puedes cambiar entre terminales o crear nuevos
+ Tienes una lista de todos los terminales abiertos en la parte inferior derecha de tu pantalla, siempre puedes cambiar entre terminales o crear nuevos.

![terminal](../../assets/terminal.gif)
![Lista de terminales](../../assets/terminal.gif)
14 changes: 7 additions & 7 deletions.learn/exercises/01-new-terminal/README.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
# `01` New Terminal

Thisexercise engine takes over your terminal, meaning that you cannot type on the current terminal at the bottom of your screen.
Thistutorial engine takes over your terminal, meaning that you cannot type on the current terminal at the bottom of your screen.

## 📝 Instructions:

1. In order to complete this tutorial, you have to opennewa new terminal and you can do so by clicking on the hamburger menu on the top left of the screen and choosing the option:
1. In order to complete this tutorial, you have to open 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:

```bash
menu =>terminal =>new terminal
```text
menu =>Terminal =>New Terminal
```

![new terminal](../../assets/new-terminal.png)
![New terminal](../../assets/new-terminal.png)

## 💡 Hint:

+ 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:
+ 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.

![terminal](../../assets/terminal.gif)
![Terminals list](../../assets/terminal.gif)
10 changes: 5 additions & 5 deletions.learn/exercises/01.2-pipenv/README.es.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
# `01.2` Pipenv

Antes de empezarcuaquier proyecto de Python, siempre es buena idea crear un nuevoenviroment (entorno). Los entornos aislados de Python previenen errores y hacen quesu aplicación sea independiente.
Antes de empezarcualquier proyecto de Python, siempre es buena idea crear un nuevoenvironment (*entorno*). Los entornos aislados de Python previenen errores y hacen quetu aplicación sea independiente.

Estamos utilizando´pipenv´ como nuestro administrador de paquetes y entornos.
Estamos utilizando`pipenv` como nuestro administrador de paquetes y entornos.

## 📝 Instrucciones:

Expand All@@ -12,13 +12,13 @@ Estamos utilizando ´pipenv´ como nuestro administrador de paquetes y entornos.
$ pipenv shell
```

## Resultado Esperado:
##💻Resultado Esperado:

Lee la línea de comando resultante, debería de decir "Lanching subshell...."("Subcapa de lanzamiento....") y ningún error debería ser visible.
Lee la línea de comando resultante, debería de decir "Lanching subshell..." y ningún error debería ser visible.

![pipenv](../../assets/pipenv.png)

## 💡Pista:
## 💡Pistas:

+ No incluyas el símbolo `$`.

Expand Down
12 changes: 6 additions & 6 deletions.learn/exercises/01.2-pipenv/README.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
# `01.2` Pipenv

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.
Before starting any Python project, it's always a good idea to create a new environment. An isolated Python environment prevents bugs and makes your application independent.

We are using pipenv as our package and environment manager.
We are using`pipenv` as our package and environment manager.

## 📝 Instructions:

Expand All@@ -12,14 +12,14 @@ We are using pipenv as our package and environment manager.
$ pipenv shell
```

## Expected Result:
##💻Expected Result:

Read the command line output, it should saythat "Lanching subshell...." and no error should be visible.
Read the command line output, it should say"Launching subshell...." and no error should be visible.

![pipenv](../../assets/pipenv.png)

## 💡Hint:
## 💡Hints:

+ Do not include the `$` symbol.

+ Every time you open a new terminal (a.k.a: command line) you will have to enter into theenviroment again by typing `pipenv shell`.
+ Every time you open a new terminal (a.k.a.: command line), you will have to enter into theenvironment again by typing `pipenv shell`.
5 changes: 3 additions & 2 deletions.learn/exercises/02-install/README.es.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -2,7 +2,7 @@

Iniciemos nuestro entorno instalando Pandas.

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/).
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/).

## 📝 Instrucciones:

Expand All@@ -11,11 +11,12 @@ En internet vas a encontrar el comando `pip`, utilizado para instalar paquetes d
```bash
$ pipenv install pandas
```

## 💡 Pista:

+ Deberías ver en tu terminal una salida como esta:

![Pipenvisntall pandas](../../assets/pipenv-pandas.png)
![Pipenvinstall Pandas](../../assets/pipenv-pandas.png)

## 🔎 Importante:

Expand Down
8 changes: 4 additions & 4 deletions.learn/exercises/02-install/README.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
# `02` Install

Let'skickoff our environment by installing Pandas.
Let'skick off our environment by installing Pandas.

Over the internet you will find the `pip` command being used to install Python packages. We prefer to use [pipenv](https://pipenv.pypa.io/en/latest/) as it provides more functionality and avoids futuremaintance headaches by combining [pip](https://pip.pypa.io/en/stable/) and [virtual env](https://virtualenv.pypa.io/en/latest/) libraries.
Over the internet, you will find the `pip` command being used to install Python packages. We prefer to use [pipenv](https://pipenv.pypa.io/en/latest/) as it provides more functionality and avoids futuremaintenance headaches by combining [pip](https://pip.pypa.io/en/stable/) and [virtual env](https://virtualenv.pypa.io/en/latest/) libraries.

## 📝 Instructions:

Expand All@@ -15,8 +15,8 @@ $ pipenv install pandas

+ You should see in your terminal an output like this:

![Pipenvisntall pandas](../../assets/pipenv-pandas.png)
![Pipenvinstall Pandas](../../assets/pipenv-pandas.png)

## 🔎 Important:

+ Remember you have to be inside theevironment shell from now on.
+ Remember, you have to be inside theenvironment shell from now on.
15 changes: 9 additions & 6 deletions.learn/exercises/02.1-create-a-script/README.es.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,30 @@
# `02.1` Create a Script

Python es un lenguaje de secuencias de comandos, lo que significa que para ejecutar el código de Python no es necesariocopilar, todo lo que tienes que hacer es crear un archivo con la extensión `.py` y correrlo utilizando `python name_of_file.py`.
Python es un lenguaje de secuencias de comandos, lo que significa que para ejecutar el código de Python no es necesariocompilar, todo lo que tienes que hacer es crear un archivo con la extensión `.py` y correrlo utilizando `python name_of_file.py`.

Vamos a crear nuestro primer Python script.

## 📝 Instrucciones:

1. Crea un nuevo archivo `app.py` en la raíz del proyecto. (Asegúrate de que estás en la raíz).

2. Añade el código para imprimir"hello world" en el terminal utilizando la función `print`.
2. Añade el código para imprimir`Hello World` en el terminal utilizando la función `print`.

```py
print("Hello World")
```
3. Corre tu Python script escribiento en el terminal `$ python app.py`.

## Resultado Esperado:
3. Corre tu Python script escribiendo en el terminal `$ python app.py`.

## 💻 Resultado Esperado:

Luego de que corres el comando deberías ver algo así:

![print file](../../assets/hello.png)

## 💡 Pista:
## 💡 Pistas:

+ Tu archivo `app.py` debe estar al lado de los archivos `.gitignore`, `learn.json` o `Pipfile`.

+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`.
+ También puedes crear el archivo utilizando el comando en la terminal: `$ touch app.py` y abrirlo dándole doble clic en el nombre del archivo o escribiendo `$ code app.py`.

17 changes: 9 additions & 8 deletions.learn/exercises/02.1-create-a-script/README.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,29 @@
# `02.1` Create a Script

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`.
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`.

Let's create our firstpython script.
Let's create our firstPython script.

## 📝 Instructions:

1. Create a new `app.py` file in the root of the project. (Make sure you arein the root).
1. Create a new `app.py` file in the root of the project. (Make sure you areat the root).

2. Add the code to print"hello world" on the terminal using the `print` function.
2. Add the code to print`Hello World` on the terminal using the `print` function.

```py
print("Hello World")
```

3. Run your Python script by typing on the terminal `$ python app.py`.

## Expected Result:
##💻Expected Result:

After you run the command you should see something like this:
After you run the command, you should see something like this:

![print file](../../assets/hello.png)

## 💡Hint:
## 💡Hints:

+ Your `app.py` file must be next to the `.gitignore`, `learn.json` or `Pipfile` files.
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`.

+ 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`.
1 change: 1 addition & 0 deletions.learn/exercises/02.1-create-a-script/solution.hide.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
print("Hello World")

[8]ページ先頭

©2009-2025 Movatter.jp