You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: INSTRUCTIONS.es.md
+47Lines changed: 47 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,3 +94,50 @@ Puesto que el resultado obtenido en estos pasos es susceptible de tener formato
94
94
## Paso 7: Analizar relación estadística
95
95
96
96
¿Tiene relación la duración con la popularidad? ¿Podríamos decir que una canción que dure poco tiempo puede ser más popular que otra que dure más? Analízalo graficando un `scatter plot` y argumenta tu respuesta.
97
+
98
+
99
+
## ¿Te sientes con ganas de profundizar? 😎
100
+
**Exploración avanzada de atributos musicales - Análisis extendido con enfoque interpretativo**
101
+
102
+
Si ya lograste conectarte a la API de Spotify, extraer información de tu artista favorito y representar datos básicos como popularidad y duración, te invitamos a realizar esta versión extendida del proyecto. Esta actividad opcional te permitirá incorporar nuevas variables musicales, aplicar pensamiento analítico y redactar conclusiones claras y bien fundamentadas a partir de los datos.
103
+
104
+
---
105
+
106
+
### Propuesta 🚀
107
+
Aprovecha que ya tienes acceso a los datos del artista para profundizar en el análisis incluyendo nuevas métricas que ofrece la API. El objetivo es detectar patrones o características interesantes y expresarlas en un lenguaje comprensible para cualquier lector.
108
+
109
+
#### Variables recomendadas para explorar:
110
+
111
+
-**Danceability**: Qué tan fácil es bailar la canción.
112
+
-**Valence**: Qué tan positiva o feliz suena.
113
+
-**Energy**: Intensidad o fuerza general.
114
+
-**Tempo**: Velocidad (en BPM).
115
+
116
+
---
117
+
118
+
1.**Recupera los atributos adicionales:** Utiliza el método `audio_features()` para obtener los atributos musicales de las canciones de tu artista:
119
+
120
+
```python
121
+
track_ids = [track["id"] for track in results["tracks"]]
122
+
features = sp.audio_features(track_ids)
123
+
```
124
+
125
+
2. **Crea un nuevo DataFrame con la información completa:** Combina los datos obtenidos anteriormente (`nombre, popularidad, duración`) con las nuevas métricas.
126
+
127
+
3. **Realiza un análisis sencillo:** Explora los valores promedio, busca extremos, identifica correlaciones visuales o estadísticamente.
128
+
129
+
- ¿Qué valores destacan en este artista?
130
+
131
+
- ¿Existe alguna tendencia entre popularidad y otro atributo?
132
+
133
+
- ¿Hay algo que no esperabas encontrar?
134
+
135
+
Crea una gráfica sencilla que complemente tu conclusión.
136
+
137
+
4. **Haz visible tu trabajo:** Con base en el análisis, redacta una o dos frases que sinteticen lo que descubriste y publicalo en LinkedIn. El objetivo es comunicar tu hallazgo de forma objetiva, breve y con respaldo en los datos.
138
+
139
+
>**Ejemplo:**
140
+
>
141
+
>"Las canciones más populares del artista analizado tienen un nivel de “danceability” promedio de > 0.82, lo que sugiere una clara orientación hacia lo bailable. 🕺💃 #SpotifySecrets"
Copy file name to clipboardExpand all lines: INSTRUCTIONS.md
+45Lines changed: 45 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -90,3 +90,48 @@ Since the result obtained in these steps is likely to be in table format, conver
90
90
## Step 7: Analyze statistical relationship
91
91
92
92
Does duration have a relationship with popularity? Could we say that a song that lasts a short time may be more popular than a song that lasts longer? Analyze it by plotting a `scatter plot` and argue your answer.
93
+
94
+
95
+
## Feeling like diving deeper? 😎
96
+
**Advanced Exploration of Musical Attributes - Extended Analysis with Interpretative Focus**
97
+
98
+
If you've already managed to connect to the Spotify API, extract information about your favorite artist, and represent basic data like popularity and duration, we invite you to take on this extended version of the project. This optional activity will allow you to incorporate new musical variables, apply analytical thinking, and write clear and well-supported conclusions based on the data.
99
+
100
+
---
101
+
102
+
### Proposal 🚀
103
+
Take advantage of your access to the artist's data to deepen the analysis by including new metrics offered by the API. The goal is to detect interesting patterns or characteristics and express them in a way that is understandable to any reader.
104
+
105
+
#### Recommended variables to explore:
106
+
107
+
- **Danceability**: How easy it is to dance to the song.
108
+
- **Valence**: How positive or happy it sounds.
109
+
- **Energy**: Overall intensity or strength.
110
+
- **Tempo**: Speed (in BPM).
111
+
112
+
---
113
+
114
+
1. **Retrieve additional attributes:** Use the `audio_features()` method to obtain the musical attributes of the artist's songs:
115
+
116
+
```python
117
+
track_ids = [track["id"] for track in results["tracks"]]
118
+
features = sp.audio_features(track_ids)
119
+
```
120
+
121
+
2. **Create a new DataFrame with complete information:** Combine the previously obtained data (`name, popularity, duration`) with the new metrics.
122
+
123
+
3. **Perform a simple analysis:** Explore average values, look for extremes, identify visual or statistical correlations.
124
+
125
+
- What values stand out for this artist?
126
+
127
+
- Is there any trend between popularity and another attribute?
128
+
129
+
- Is there something unexpected you found?
130
+
131
+
Create a simple chart to complement your conclusion.
132
+
133
+
4. **Make your work visible:** Based on the analysis, write one or two sentences summarizing what you discovered and post it on LinkedIn. The goal is to communicate your findings objectively, briefly, and with data-backed evidence.
134
+
135
+
> **Example:**
136
+
>
137
+
> "The most popular songs of the analyzed artist have an average “danceability” level of > 0.82, suggesting a clear focus on danceable tracks. 🕺💃 #SpotifySecrets"
0 commit comments