spotify 数据分析
Spotisis /spo-ti-sis/ noun The analysis of one’s Spotify streaming history using Python.
Spotisis / spo-ti-sis / 名词使用Python分析一个人的Spotify流历史。
I was reading through a lot of data science related guides and project ideas when I came across an article in which the author compared his song choices with his friend’s. I wanted to do something similar, so set out to analyse my own streaming history and compare it with what the world listens to.
当我看到一篇文章,作者将他的歌曲选择与朋友的歌曲选择进行比较时,我正在阅读许多与数据科学相关的指南和项目构想。 我想做类似的事情,因此着手分析自己的流媒体历史并将其与世界听的内容进行比较。
Through this, I aim to find out more about my music preferences and how that differs from the world’s genral picks.
通过这一工作,我旨在了解有关我的音乐喜好以及与世界各地的精选音乐有何不同的更多信息。
I never really put much thought into my music preference before this project — it was always kind of dependent on my mood, and when someone asked me what type of music I like, I had no answer — because it varied from one hour to another.
在这个项目开始之前,我从来没有真正考虑过我的音乐偏好-它总是取决于我的心情,当有人问我喜欢哪种音乐时,我没有答案-因为它从一个小时到另一个小时不等。
I’ve split this project into 2 sections:
我将该项目分为两个部分:
Part A is the analysis of my music streaming history.
A部分是对我的音乐流历史的分析。
- Timeline of my streaming history 我的流式传输历史的时间表
- Day preference 日偏好
- Favorite artist 最喜欢的艺术家
- Favorite songs 最喜欢的歌曲
- Spirit of the songs 歌曲的精神
- Diversity 多元化
Part B is the comparison of the top 50 songs streamed on my list with the top 50 songs streamed in 2019
B部分是我列表中前50首歌曲与2019年前50首歌曲的比较
数据 (The data)
Spotify allows every user to request a download of all their streaming history, so Part A is completely dependent on that. They also have an amazing Developer Platform in which the public can use the data available for their own interest. Along with my personal data, I used the audio features option — which breaks down a song and gives it ‘score’ for a number of different attributes. The attributes are as follows:
Spotify允许每个用户请求下载其所有流历史记录,因此A部分完全依赖于此。 他们还拥有一个了不起的开发人员平台 ,公众可以在其中使用自己感兴趣的数据。 除了我的个人数据,我还使用了音频功能选项-可以分解一首歌曲,并为许多不同的属性赋予它“得分”。 属性如下:
Acousticness — A confidence measure from 0.0 to 1.0 of whether the track is acoustic. 1.0 represents high confidence the track is acoustic
声学 -轨道是否声学的置信度,范围为0.0到1.0。 1.0代表高置信度轨道是声学的
Danceability — A description of how suitable a track is for dancing based on a combination of musical elements including tempo, rhythm stability, beat strength, and overall regularity. A value of 0.0 is least danceable and 1.0 is most danceable.
舞蹈性 -基于音乐元素(包括速度,节奏稳定性,节拍强度和整体规律性)的组合,说明轨道是否适合跳舞。 值0.0最低可跳舞,而1.0最高可跳舞。
Energy — Energy is a measure from 0.0 to 1.0 and represents a perceptual measure of intensity and activity. Typically, energetic tracks feel fast, loud, and noisy.
能量 —能量是从0.0到1.0的量度,表示强度和活动的感知量度。 通常,充满活力的曲目会感觉快速,响亮且嘈杂。
Instrumentalness — Predicts whether a track con