From 307bee22034f29f8d16729996d330e5f0219c030 Mon Sep 17 00:00:00 2001 From: Neil Smith Date: Fri, 3 Mar 2017 09:21:12 +0000 Subject: [PATCH 1/1] Initial commit --- .gitignore | 48 + radiohead-data.ipynb | 14020 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 14068 insertions(+) create mode 100644 .gitignore create mode 100644 radiohead-data.ipynb diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..83f1568 --- /dev/null +++ b/.gitignore @@ -0,0 +1,48 @@ +*.py[cod] + +# C extensions +*.so + +# Packages +*.egg +*.egg-info +dist +build +eggs +parts +bin +var +sdist +develop-eggs +.installed.cfg +lib +lib64 +__pycache__ + +# Installer logs +pip-log.txt + +# Unit test / coverage reports +.coverage +.tox +nosetests.xml + +# Translations +*.mo + +# Mr Developer +.mr.developer.cfg +.project +.pydevproject + +# IPython +.ipynb* + +# Sublime text +*.sublime-workspace + +# Logs +*.log + +# Secrets +secrets.ini diff --git a/radiohead-data.ipynb b/radiohead-data.ipynb new file mode 100644 index 0000000..4fe3280 --- /dev/null +++ b/radiohead-data.ipynb @@ -0,0 +1,14020 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Sad songs\n", + "\n", + "This is a replication of the [fitteR happieR](http://rcharlie.com/2017-02-16-fitteR-happieR/) post which attempted to find the most depressing Radiohead song.\n", + "\n", + "I've redone it here, using tools available in TM351.\n", + "\n", + "I'm also on a bit of a Beatles jag, so I've also done the analysis for Beatles songs.\n", + "\n", + "## Contents\n", + "### Data gathering\n", + "\n", + "* [Getting data from Spotify](#getspotify)\n", + "* [Tag album with artist](#tagalbumwithartist)\n", + "* [Tag track with artist](#tagtrackwithartist)\n", + "* [Get full track data](#fulltrackdata)\n", + "* [Lyrics search](#lyricssearch)\n", + "* [Matching datasets](#matchingdatasets)\n", + "* [Copy the lyrics over](#copylyrics)\n", + "* [Sentiment analysis](#sentimentanalysis)\n", + "\n", + "### Data analysis\n", + "* [Analysis](#analysis)\n", + "* [Sentiment](#sentiment)\n", + "* [Gloom index](#gloomindex)\n", + "* [Revised gloom index](#revisedgloomindex)\n", + "* [Contrasting songs](#valencenegcontrast)\n", + "* [Gloom per album](#gloomperalbum)\n", + "* [Complexity per album](#complexityovertime)\n", + "\n", + "### [Conclusion](#conclusion)" + ] + }, + { + "cell_type": "code", + "execution_count": 323, + "metadata": { + "collapsed": true, + "run_control": { + "read_only": false + } + }, + "outputs": [], + "source": [ + "import pandas as pd\n", + "import numpy as np\n", + "import urllib.request\n", + "import urllib.parse\n", + "import urllib.error\n", + "import json\n", + "import base64\n", + "import configparser\n", + "from bs4 import BeautifulSoup\n", + "import re\n", + "import pymongo\n", + "from datetime import datetime\n", + "import time\n", + "import collections" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "We'll use MongoDB to store the data, to save keeping it all in memory, and mean we don't have to recapture all the data to to a different analysis." + ] + }, + { + "cell_type": "code", + "execution_count": 2, + "metadata": { + "collapsed": true + }, + "outputs": [], + "source": [ + "# Open a connection to the Mongo server\n", + "client = pymongo.MongoClient('mongodb://localhost:27351/')" + ] + }, + { + "cell_type": "code", + "execution_count": 6, + "metadata": { + "collapsed": false + }, + "outputs": [], + "source": [ + "try:\n", + " client.drop_database(songs_db)\n", + "except NameError:\n", + " print(\"DB doesn't exist yet.\")" + ] + }, + { + "cell_type": "code", + "execution_count": 7, + "metadata": { + "collapsed": false + }, + "outputs": [], + "source": [ + "# Create a database and a collections within it.\n", + "songs_db = client.songs\n", + "albums = songs_db.albums\n", + "tracks = songs_db.tracks\n", + "genius_tracks = songs_db.gtracks" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "API keys and the like are kept in a configuration file, which is read here.\n", + "\n", + "You'll need to create a web API key for Spotify and Genius. " + ] + }, + { + "cell_type": "code", + "execution_count": 8, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/plain": [ + "['app_name', 'client_id', 'client_secret', 'redirect_uri', 'token']" + ] + }, + "execution_count": 8, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "config = configparser.ConfigParser()\n", + "config.read('secrets.ini')\n", + "[k for k in config['genius']]" + ] + }, + { + "cell_type": "code", + "execution_count": 385, + "metadata": { + "collapsed": true + }, + "outputs": [], + "source": [ + "## How to write the config file. Fill in the details, and create a different config section for Spotify.\n", + "# config['genius'] = {}\n", + "# config['genius']['app_name'] = 'xxx'\n", + "# config['genius']['client_id'] = 'xxx'\n", + "# config['genius']['client_secret'] = 'xxx'\n", + "# config['genius']['token'] = 'xxx'\n", + "# with open('secrets.ini', 'w') as configfile:\n", + "# config.write(configfile)" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Get album and track data from Spotify\n", + "We'll download the data on artists, albums, and tracks from Spotify.\n", + "\n", + "* [Top](#top)" + ] + }, + { + "cell_type": "code", + "execution_count": 9, + "metadata": { + "collapsed": false + }, + "outputs": [], + "source": [ + "def get_artists(artist_name):\n", + " query = urllib.parse.urlencode({'q': artist_name, 'type': 'artist'})\n", + " request = 'https://api.spotify.com/v1/search?{}'.format(query)\n", + " with urllib.request.urlopen(request) as f:\n", + " response = json.loads(f.read().decode('utf-8'))\n", + " artists = []\n", + " for artist in response['artists']['items']:\n", + " if artist['name'].lower() == artist_name.lower():\n", + " this_artist = {'name': artist['name'], 'id': artist['id']}\n", + " if artist['images']:\n", + " this_artist['image'] = artist['images'][0]['url']\n", + " artists += [this_artist]\n", + " return artists" + ] + }, + { + "cell_type": "code", + "execution_count": 67, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/plain": [ + "('4Z8W4fKeB5YxbusRsdQVPb',\n", + " [{'id': '4Z8W4fKeB5YxbusRsdQVPb',\n", + " 'image': 'https://i.scdn.co/image/afcd616e1ef2d2786f47b3b4a8a6aeea24a72adc',\n", + " 'name': 'Radiohead'}])" + ] + }, + "execution_count": 67, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "artists = get_artists('radiohead')\n", + "radiohead_id = artists[0]['id']\n", + "radiohead_id, artists" + ] + }, + { + "cell_type": "code", + "execution_count": 68, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/plain": [ + "('3WrFJ7ztbogyGnTHbHJFl2',\n", + " [{'id': '3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'image': 'https://i.scdn.co/image/934c57df9fbdbbaa5e93b55994a4cb9571fd2085',\n", + " 'name': 'The Beatles'}])" + ] + }, + "execution_count": 68, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "artists = get_artists('the beatles')\n", + "beatles_id = artists[0]['id']\n", + "beatles_id, artists" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Find all the albums for an artist." + ] + }, + { + "cell_type": "code", + "execution_count": 19, + "metadata": { + "collapsed": false + }, + "outputs": [], + "source": [ + "def get_albums(artist_id):\n", + " request = 'https://api.spotify.com/v1/artists/{id}/albums?market=GB&album_type=album'.format(id=artist_id)\n", + " with urllib.request.urlopen(request) as f:\n", + " response = json.loads(f.read().decode('utf-8'))\n", + " for a in response['items']:\n", + " album_request = a['href']\n", + " with urllib.request.urlopen(album_request) as af:\n", + " album = json.loads(af.read().decode('utf-8'))\n", + " album['_id'] = album['id']\n", + " albums.replace_one({'_id': album['_id']}, album, upsert=True)" + ] + }, + { + "cell_type": "code", + "execution_count": 20, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/plain": [ + "15" + ] + }, + "execution_count": 20, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "get_albums(beatles_id)\n", + "albums.find().count()" + ] + }, + { + "cell_type": "code", + "execution_count": 86, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/plain": [ + "28" + ] + }, + "execution_count": 86, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "get_albums(radiohead_id)\n", + "albums.find().count()" + ] + }, + { + "cell_type": "code", + "execution_count": 21, + "metadata": { + "collapsed": false, + "scrolled": true + }, + "outputs": [ + { + "data": { + "text/plain": [ + "{'_id': '2pCqZLeavM2BMovJXsJEIV',\n", + " 'album_type': 'album',\n", + " 'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/3WrFJ7ztbogyGnTHbHJFl2'},\n", + " 'href': 'https://api.spotify.com/v1/artists/3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'id': '3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'name': 'The Beatles',\n", + " 'type': 'artist',\n", + " 'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl2'}],\n", + " 'available_markets': ['AD',\n", + " 'AR',\n", + " 'AT',\n", + " 'AU',\n", + " 'BE',\n", + " 'BG',\n", + " 'BO',\n", + " 'BR',\n", + " 'CH',\n", + " 'CL',\n", + " 'CO',\n", + " 'CR',\n", + " 'CY',\n", + " 'CZ',\n", + " 'DE',\n", + " 'DK',\n", + " 'DO',\n", + " 'EC',\n", + " 'EE',\n", + " 'ES',\n", + " 'FI',\n", + " 'FR',\n", + " 'GB',\n", + " 'GR',\n", + " 'GT',\n", + " 'HK',\n", + " 'HN',\n", + " 'HU',\n", + " 'ID',\n", + " 'IE',\n", + " 'IS',\n", + " 'IT',\n", + " 'JP',\n", + " 'LI',\n", + " 'LT',\n", + " 'LU',\n", + " 'LV',\n", + " 'MC',\n", + " 'MT',\n", + " 'MY',\n", + " 'NI',\n", + " 'NL',\n", + " 'NO',\n", + " 'NZ',\n", + " 'PA',\n", + " 'PE',\n", + " 'PH',\n", + " 'PL',\n", + " 'PT',\n", + " 'PY',\n", + " 'SE',\n", + " 'SG',\n", + " 'SK',\n", + " 'SV',\n", + " 'TR',\n", + " 'TW',\n", + " 'UY'],\n", + " 'copyrights': [{'text': '(C) 2015 Apple Corps Ltd', 'type': 'C'},\n", + " {'text': '(P) 2015 Calderstone Productions Limited (a division of Universal Music Group)',\n", + " 'type': 'P'}],\n", + " 'external_ids': {'upc': '00602547670069'},\n", + " 'external_urls': {'spotify': 'https://open.spotify.com/album/2pCqZLeavM2BMovJXsJEIV'},\n", + " 'genres': [],\n", + " 'href': 'https://api.spotify.com/v1/albums/2pCqZLeavM2BMovJXsJEIV',\n", + " 'id': '2pCqZLeavM2BMovJXsJEIV',\n", + " 'images': [{'height': 640,\n", + " 'url': 'https://i.scdn.co/image/809c6f28db643023d76b9cb650a8ea59689a3af2',\n", + " 'width': 640},\n", + " {'height': 300,\n", + " 'url': 'https://i.scdn.co/image/a8b7d6b28fc36248278e128c33e1a0dfb8cffb88',\n", + " 'width': 300},\n", + " {'height': 64,\n", + " 'url': 'https://i.scdn.co/image/382865979b10ad69925ac4c40304fcb1862a8912',\n", + " 'width': 64}],\n", + " 'label': 'EMI Catalogue',\n", + " 'name': 'Let It Be (Remastered)',\n", + " 'popularity': 69,\n", + " 'release_date': '1970-05-08',\n", + " 'release_date_precision': 'day',\n", + " 'tracks': {'href': 'https://api.spotify.com/v1/albums/2pCqZLeavM2BMovJXsJEIV/tracks?offset=0&limit=50',\n", + " 'items': [{'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/3WrFJ7ztbogyGnTHbHJFl2'},\n", + " 'href': 'https://api.spotify.com/v1/artists/3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'id': '3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'name': 'The Beatles',\n", + " 'type': 'artist',\n", + " 'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl2'}],\n", + " 'available_markets': ['AD',\n", + " 'AR',\n", + " 'AT',\n", + " 'AU',\n", + " 'BE',\n", + " 'BG',\n", + " 'BO',\n", + " 'BR',\n", + " 'CH',\n", + " 'CL',\n", + " 'CO',\n", + " 'CR',\n", + " 'CY',\n", + " 'CZ',\n", + " 'DE',\n", + " 'DK',\n", + " 'DO',\n", + " 'EC',\n", + " 'EE',\n", + " 'ES',\n", + " 'FI',\n", + " 'FR',\n", + " 'GB',\n", + " 'GR',\n", + " 'GT',\n", + " 'HK',\n", + " 'HN',\n", + " 'HU',\n", + " 'ID',\n", + " 'IE',\n", + " 'IS',\n", + " 'IT',\n", + " 'JP',\n", + " 'LI',\n", + " 'LT',\n", + " 'LU',\n", + " 'LV',\n", + " 'MC',\n", + " 'MT',\n", + " 'MY',\n", + " 'NI',\n", + " 'NL',\n", + " 'NO',\n", + " 'NZ',\n", + " 'PA',\n", + " 'PE',\n", + " 'PH',\n", + " 'PL',\n", + " 'PT',\n", + " 'PY',\n", + " 'SE',\n", + " 'SG',\n", + " 'SK',\n", + " 'SV',\n", + " 'TR',\n", + " 'TW',\n", + " 'UY'],\n", + " 'disc_number': 1,\n", + " 'duration_ms': 216813,\n", + " 'explicit': False,\n", + " 'external_urls': {'spotify': 'https://open.spotify.com/track/57n1teNb2tkcfiYagPmUWr'},\n", + " 'href': 'https://api.spotify.com/v1/tracks/57n1teNb2tkcfiYagPmUWr',\n", + " 'id': '57n1teNb2tkcfiYagPmUWr',\n", + " 'name': 'Two Of Us - Remastered 2009',\n", + " 'preview_url': 'https://p.scdn.co/mp3-preview/027085fec2d5049be37d7b10353e9c2143aa94d8?cid=null',\n", + " 'track_number': 1,\n", + " 'type': 'track',\n", + " 'uri': 'spotify:track:57n1teNb2tkcfiYagPmUWr'},\n", + " {'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/3WrFJ7ztbogyGnTHbHJFl2'},\n", + " 'href': 'https://api.spotify.com/v1/artists/3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'id': '3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'name': 'The Beatles',\n", + " 'type': 'artist',\n", + " 'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl2'}],\n", + " 'available_markets': ['AD',\n", + " 'AR',\n", + " 'AT',\n", + " 'AU',\n", + " 'BE',\n", + " 'BG',\n", + " 'BO',\n", + " 'BR',\n", + " 'CH',\n", + " 'CL',\n", + " 'CO',\n", + " 'CR',\n", + " 'CY',\n", + " 'CZ',\n", + " 'DE',\n", + " 'DK',\n", + " 'DO',\n", + " 'EC',\n", + " 'EE',\n", + " 'ES',\n", + " 'FI',\n", + " 'FR',\n", + " 'GB',\n", + " 'GR',\n", + " 'GT',\n", + " 'HK',\n", + " 'HN',\n", + " 'HU',\n", + " 'ID',\n", + " 'IE',\n", + " 'IS',\n", + " 'IT',\n", + " 'JP',\n", + " 'LI',\n", + " 'LT',\n", + " 'LU',\n", + " 'LV',\n", + " 'MC',\n", + " 'MT',\n", + " 'MY',\n", + " 'NI',\n", + " 'NL',\n", + " 'NO',\n", + " 'NZ',\n", + " 'PA',\n", + " 'PE',\n", + " 'PH',\n", + " 'PL',\n", + " 'PT',\n", + " 'PY',\n", + " 'SE',\n", + " 'SG',\n", + " 'SK',\n", + " 'SV',\n", + " 'TR',\n", + " 'TW',\n", + " 'UY'],\n", + " 'disc_number': 1,\n", + " 'duration_ms': 235000,\n", + " 'explicit': False,\n", + " 'external_urls': {'spotify': 'https://open.spotify.com/track/3eMeNJhwxiecXnSYy2NhfY'},\n", + " 'href': 'https://api.spotify.com/v1/tracks/3eMeNJhwxiecXnSYy2NhfY',\n", + " 'id': '3eMeNJhwxiecXnSYy2NhfY',\n", + " 'name': 'Dig A Pony - Remastered 2009',\n", + " 'preview_url': 'https://p.scdn.co/mp3-preview/033f1c9d697b69749a63621bdc8a93a897a1d394?cid=null',\n", + " 'track_number': 2,\n", + " 'type': 'track',\n", + " 'uri': 'spotify:track:3eMeNJhwxiecXnSYy2NhfY'},\n", + " {'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/3WrFJ7ztbogyGnTHbHJFl2'},\n", + " 'href': 'https://api.spotify.com/v1/artists/3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'id': '3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'name': 'The Beatles',\n", + " 'type': 'artist',\n", + " 'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl2'}],\n", + " 'available_markets': ['AD',\n", + " 'AR',\n", + " 'AT',\n", + " 'AU',\n", + " 'BE',\n", + " 'BG',\n", + " 'BO',\n", + " 'BR',\n", + " 'CH',\n", + " 'CL',\n", + " 'CO',\n", + " 'CR',\n", + " 'CY',\n", + " 'CZ',\n", + " 'DE',\n", + " 'DK',\n", + " 'DO',\n", + " 'EC',\n", + " 'EE',\n", + " 'ES',\n", + " 'FI',\n", + " 'FR',\n", + " 'GB',\n", + " 'GR',\n", + " 'GT',\n", + " 'HK',\n", + " 'HN',\n", + " 'HU',\n", + " 'ID',\n", + " 'IE',\n", + " 'IS',\n", + " 'IT',\n", + " 'JP',\n", + " 'LI',\n", + " 'LT',\n", + " 'LU',\n", + " 'LV',\n", + " 'MC',\n", + " 'MT',\n", + " 'MY',\n", + " 'NI',\n", + " 'NL',\n", + " 'NO',\n", + " 'NZ',\n", + " 'PA',\n", + " 'PE',\n", + " 'PH',\n", + " 'PL',\n", + " 'PT',\n", + " 'PY',\n", + " 'SE',\n", + " 'SG',\n", + " 'SK',\n", + " 'SV',\n", + " 'TR',\n", + " 'TW',\n", + " 'UY'],\n", + " 'disc_number': 1,\n", + " 'duration_ms': 228133,\n", + " 'explicit': False,\n", + " 'external_urls': {'spotify': 'https://open.spotify.com/track/72Ob0wrObCXgvGYhFs8vip'},\n", + " 'href': 'https://api.spotify.com/v1/tracks/72Ob0wrObCXgvGYhFs8vip',\n", + " 'id': '72Ob0wrObCXgvGYhFs8vip',\n", + " 'name': 'Across The Universe - Remastered 2009',\n", + " 'preview_url': 'https://p.scdn.co/mp3-preview/efe38bcd921990d782707dac30e445d7680b59df?cid=null',\n", + " 'track_number': 3,\n", + " 'type': 'track',\n", + " 'uri': 'spotify:track:72Ob0wrObCXgvGYhFs8vip'},\n", + " {'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/3WrFJ7ztbogyGnTHbHJFl2'},\n", + " 'href': 'https://api.spotify.com/v1/artists/3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'id': '3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'name': 'The Beatles',\n", + " 'type': 'artist',\n", + " 'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl2'}],\n", + " 'available_markets': ['AD',\n", + " 'AR',\n", + " 'AT',\n", + " 'AU',\n", + " 'BE',\n", + " 'BG',\n", + " 'BO',\n", + " 'BR',\n", + " 'CH',\n", + " 'CL',\n", + " 'CO',\n", + " 'CR',\n", + " 'CY',\n", + " 'CZ',\n", + " 'DE',\n", + " 'DK',\n", + " 'DO',\n", + " 'EC',\n", + " 'EE',\n", + " 'ES',\n", + " 'FI',\n", + " 'FR',\n", + " 'GB',\n", + " 'GR',\n", + " 'GT',\n", + " 'HK',\n", + " 'HN',\n", + " 'HU',\n", + " 'ID',\n", + " 'IE',\n", + " 'IS',\n", + " 'IT',\n", + " 'JP',\n", + " 'LI',\n", + " 'LT',\n", + " 'LU',\n", + " 'LV',\n", + " 'MC',\n", + " 'MT',\n", + " 'MY',\n", + " 'NI',\n", + " 'NL',\n", + " 'NO',\n", + " 'NZ',\n", + " 'PA',\n", + " 'PE',\n", + " 'PH',\n", + " 'PL',\n", + " 'PT',\n", + " 'PY',\n", + " 'SE',\n", + " 'SG',\n", + " 'SK',\n", + " 'SV',\n", + " 'TR',\n", + " 'TW',\n", + " 'UY'],\n", + " 'disc_number': 1,\n", + " 'duration_ms': 145586,\n", + " 'explicit': False,\n", + " 'external_urls': {'spotify': 'https://open.spotify.com/track/0i4BFZcByXtcTFOafH5ebS'},\n", + " 'href': 'https://api.spotify.com/v1/tracks/0i4BFZcByXtcTFOafH5ebS',\n", + " 'id': '0i4BFZcByXtcTFOafH5ebS',\n", + " 'name': 'I Me Mine - Remastered 2009',\n", + " 'preview_url': 'https://p.scdn.co/mp3-preview/303eee3d81c6f5d2f0d795954eb559ed0ffc46c6?cid=null',\n", + " 'track_number': 4,\n", + " 'type': 'track',\n", + " 'uri': 'spotify:track:0i4BFZcByXtcTFOafH5ebS'},\n", + " {'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/3WrFJ7ztbogyGnTHbHJFl2'},\n", + " 'href': 'https://api.spotify.com/v1/artists/3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'id': '3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'name': 'The Beatles',\n", + " 'type': 'artist',\n", + " 'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl2'}],\n", + " 'available_markets': ['AD',\n", + " 'AR',\n", + " 'AT',\n", + " 'AU',\n", + " 'BE',\n", + " 'BG',\n", + " 'BO',\n", + " 'BR',\n", + " 'CH',\n", + " 'CL',\n", + " 'CO',\n", + " 'CR',\n", + " 'CY',\n", + " 'CZ',\n", + " 'DE',\n", + " 'DK',\n", + " 'DO',\n", + " 'EC',\n", + " 'EE',\n", + " 'ES',\n", + " 'FI',\n", + " 'FR',\n", + " 'GB',\n", + " 'GR',\n", + " 'GT',\n", + " 'HK',\n", + " 'HN',\n", + " 'HU',\n", + " 'ID',\n", + " 'IE',\n", + " 'IS',\n", + " 'IT',\n", + " 'JP',\n", + " 'LI',\n", + " 'LT',\n", + " 'LU',\n", + " 'LV',\n", + " 'MC',\n", + " 'MT',\n", + " 'MY',\n", + " 'NI',\n", + " 'NL',\n", + " 'NO',\n", + " 'NZ',\n", + " 'PA',\n", + " 'PE',\n", + " 'PH',\n", + " 'PL',\n", + " 'PT',\n", + " 'PY',\n", + " 'SE',\n", + " 'SG',\n", + " 'SK',\n", + " 'SV',\n", + " 'TR',\n", + " 'TW',\n", + " 'UY'],\n", + " 'disc_number': 1,\n", + " 'duration_ms': 50466,\n", + " 'explicit': False,\n", + " 'external_urls': {'spotify': 'https://open.spotify.com/track/5GDVGBs8qW1Xl3Qi0vsxue'},\n", + " 'href': 'https://api.spotify.com/v1/tracks/5GDVGBs8qW1Xl3Qi0vsxue',\n", + " 'id': '5GDVGBs8qW1Xl3Qi0vsxue',\n", + " 'name': 'Dig It - Remastered 2009',\n", + " 'preview_url': 'https://p.scdn.co/mp3-preview/7fcb17fdd273bca3c37661e8f0d30446b9f87a31?cid=null',\n", + " 'track_number': 5,\n", + " 'type': 'track',\n", + " 'uri': 'spotify:track:5GDVGBs8qW1Xl3Qi0vsxue'},\n", + " {'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/3WrFJ7ztbogyGnTHbHJFl2'},\n", + " 'href': 'https://api.spotify.com/v1/artists/3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'id': '3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'name': 'The Beatles',\n", + " 'type': 'artist',\n", + " 'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl2'}],\n", + " 'available_markets': ['AD',\n", + " 'AR',\n", + " 'AT',\n", + " 'AU',\n", + " 'BE',\n", + " 'BG',\n", + " 'BO',\n", + " 'BR',\n", + " 'CH',\n", + " 'CL',\n", + " 'CO',\n", + " 'CR',\n", + " 'CY',\n", + " 'CZ',\n", + " 'DE',\n", + " 'DK',\n", + " 'DO',\n", + " 'EC',\n", + " 'EE',\n", + " 'ES',\n", + " 'FI',\n", + " 'FR',\n", + " 'GB',\n", + " 'GR',\n", + " 'GT',\n", + " 'HK',\n", + " 'HN',\n", + " 'HU',\n", + " 'ID',\n", + " 'IE',\n", + " 'IS',\n", + " 'IT',\n", + " 'JP',\n", + " 'LI',\n", + " 'LT',\n", + " 'LU',\n", + " 'LV',\n", + " 'MC',\n", + " 'MT',\n", + " 'MY',\n", + " 'NI',\n", + " 'NL',\n", + " 'NO',\n", + " 'NZ',\n", + " 'PA',\n", + " 'PE',\n", + " 'PH',\n", + " 'PL',\n", + " 'PT',\n", + " 'PY',\n", + " 'SE',\n", + " 'SG',\n", + " 'SK',\n", + " 'SV',\n", + " 'TR',\n", + " 'TW',\n", + " 'UY'],\n", + " 'disc_number': 1,\n", + " 'duration_ms': 243026,\n", + " 'explicit': False,\n", + " 'external_urls': {'spotify': 'https://open.spotify.com/track/5V1AHQugSTASVez5ffJtFo'},\n", + " 'href': 'https://api.spotify.com/v1/tracks/5V1AHQugSTASVez5ffJtFo',\n", + " 'id': '5V1AHQugSTASVez5ffJtFo',\n", + " 'name': 'Let It Be - Remastered 2009',\n", + " 'preview_url': 'https://p.scdn.co/mp3-preview/f7913ebb647d47835c34fa4db7e889c8a87c6d10?cid=null',\n", + " 'track_number': 6,\n", + " 'type': 'track',\n", + " 'uri': 'spotify:track:5V1AHQugSTASVez5ffJtFo'},\n", + " {'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/3WrFJ7ztbogyGnTHbHJFl2'},\n", + " 'href': 'https://api.spotify.com/v1/artists/3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'id': '3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'name': 'The Beatles',\n", + " 'type': 'artist',\n", + " 'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl2'}],\n", + " 'available_markets': ['AD',\n", + " 'AR',\n", + " 'AT',\n", + " 'AU',\n", + " 'BE',\n", + " 'BG',\n", + " 'BO',\n", + " 'BR',\n", + " 'CH',\n", + " 'CL',\n", + " 'CO',\n", + " 'CR',\n", + " 'CY',\n", + " 'CZ',\n", + " 'DE',\n", + " 'DK',\n", + " 'DO',\n", + " 'EC',\n", + " 'EE',\n", + " 'ES',\n", + " 'FI',\n", + " 'FR',\n", + " 'GB',\n", + " 'GR',\n", + " 'GT',\n", + " 'HK',\n", + " 'HN',\n", + " 'HU',\n", + " 'ID',\n", + " 'IE',\n", + " 'IS',\n", + " 'IT',\n", + " 'JP',\n", + " 'LI',\n", + " 'LT',\n", + " 'LU',\n", + " 'LV',\n", + " 'MC',\n", + " 'MT',\n", + " 'MY',\n", + " 'NI',\n", + " 'NL',\n", + " 'NO',\n", + " 'NZ',\n", + " 'PA',\n", + " 'PE',\n", + " 'PH',\n", + " 'PL',\n", + " 'PT',\n", + " 'PY',\n", + " 'SE',\n", + " 'SG',\n", + " 'SK',\n", + " 'SV',\n", + " 'TR',\n", + " 'TW',\n", + " 'UY'],\n", + " 'disc_number': 1,\n", + " 'duration_ms': 40040,\n", + " 'explicit': False,\n", + " 'external_urls': {'spotify': 'https://open.spotify.com/track/2r3re0TzVmdbHeOmjcFI4D'},\n", + " 'href': 'https://api.spotify.com/v1/tracks/2r3re0TzVmdbHeOmjcFI4D',\n", + " 'id': '2r3re0TzVmdbHeOmjcFI4D',\n", + " 'name': 'Maggie Mae - Remastered 2009',\n", + " 'preview_url': 'https://p.scdn.co/mp3-preview/b087e677086329e65254c2d05c6e186e1e6344ba?cid=null',\n", + " 'track_number': 7,\n", + " 'type': 'track',\n", + " 'uri': 'spotify:track:2r3re0TzVmdbHeOmjcFI4D'},\n", + " {'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/3WrFJ7ztbogyGnTHbHJFl2'},\n", + " 'href': 'https://api.spotify.com/v1/artists/3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'id': '3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'name': 'The Beatles',\n", + " 'type': 'artist',\n", + " 'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl2'}],\n", + " 'available_markets': ['AD',\n", + " 'AR',\n", + " 'AT',\n", + " 'AU',\n", + " 'BE',\n", + " 'BG',\n", + " 'BO',\n", + " 'BR',\n", + " 'CH',\n", + " 'CL',\n", + " 'CO',\n", + " 'CR',\n", + " 'CY',\n", + " 'CZ',\n", + " 'DE',\n", + " 'DK',\n", + " 'DO',\n", + " 'EC',\n", + " 'EE',\n", + " 'ES',\n", + " 'FI',\n", + " 'FR',\n", + " 'GB',\n", + " 'GR',\n", + " 'GT',\n", + " 'HK',\n", + " 'HN',\n", + " 'HU',\n", + " 'ID',\n", + " 'IE',\n", + " 'IS',\n", + " 'IT',\n", + " 'JP',\n", + " 'LI',\n", + " 'LT',\n", + " 'LU',\n", + " 'LV',\n", + " 'MC',\n", + " 'MT',\n", + " 'MY',\n", + " 'NI',\n", + " 'NL',\n", + " 'NO',\n", + " 'NZ',\n", + " 'PA',\n", + " 'PE',\n", + " 'PH',\n", + " 'PL',\n", + " 'PT',\n", + " 'PY',\n", + " 'SE',\n", + " 'SG',\n", + " 'SK',\n", + " 'SV',\n", + " 'TR',\n", + " 'TW',\n", + " 'UY'],\n", + " 'disc_number': 1,\n", + " 'duration_ms': 217560,\n", + " 'explicit': False,\n", + " 'external_urls': {'spotify': 'https://open.spotify.com/track/03v6sgKUUFliGse1h04ecC'},\n", + " 'href': 'https://api.spotify.com/v1/tracks/03v6sgKUUFliGse1h04ecC',\n", + " 'id': '03v6sgKUUFliGse1h04ecC',\n", + " 'name': \"I've Got A Feeling - Remastered 2009\",\n", + " 'preview_url': 'https://p.scdn.co/mp3-preview/1bfbf75ab7ddca4fe8cfe0a58a73b31020a79c08?cid=null',\n", + " 'track_number': 8,\n", + " 'type': 'track',\n", + " 'uri': 'spotify:track:03v6sgKUUFliGse1h04ecC'},\n", + " {'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/3WrFJ7ztbogyGnTHbHJFl2'},\n", + " 'href': 'https://api.spotify.com/v1/artists/3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'id': '3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'name': 'The Beatles',\n", + " 'type': 'artist',\n", + " 'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl2'}],\n", + " 'available_markets': ['AD',\n", + " 'AR',\n", + " 'AT',\n", + " 'AU',\n", + " 'BE',\n", + " 'BG',\n", + " 'BO',\n", + " 'BR',\n", + " 'CH',\n", + " 'CL',\n", + " 'CO',\n", + " 'CR',\n", + " 'CY',\n", + " 'CZ',\n", + " 'DE',\n", + " 'DK',\n", + " 'DO',\n", + " 'EC',\n", + " 'EE',\n", + " 'ES',\n", + " 'FI',\n", + " 'FR',\n", + " 'GB',\n", + " 'GR',\n", + " 'GT',\n", + " 'HK',\n", + " 'HN',\n", + " 'HU',\n", + " 'ID',\n", + " 'IE',\n", + " 'IS',\n", + " 'IT',\n", + " 'JP',\n", + " 'LI',\n", + " 'LT',\n", + " 'LU',\n", + " 'LV',\n", + " 'MC',\n", + " 'MT',\n", + " 'MY',\n", + " 'NI',\n", + " 'NL',\n", + " 'NO',\n", + " 'NZ',\n", + " 'PA',\n", + " 'PE',\n", + " 'PH',\n", + " 'PL',\n", + " 'PT',\n", + " 'PY',\n", + " 'SE',\n", + " 'SG',\n", + " 'SK',\n", + " 'SV',\n", + " 'TR',\n", + " 'TW',\n", + " 'UY'],\n", + " 'disc_number': 1,\n", + " 'duration_ms': 173960,\n", + " 'explicit': False,\n", + " 'external_urls': {'spotify': 'https://open.spotify.com/track/4311wT21Et0q3vepFwXjTu'},\n", + " 'href': 'https://api.spotify.com/v1/tracks/4311wT21Et0q3vepFwXjTu',\n", + " 'id': '4311wT21Et0q3vepFwXjTu',\n", + " 'name': 'One After 909 - Remastered 2009',\n", + " 'preview_url': 'https://p.scdn.co/mp3-preview/ed5ef2e435c2f7630f7d2c9146620cd097cf9695?cid=null',\n", + " 'track_number': 9,\n", + " 'type': 'track',\n", + " 'uri': 'spotify:track:4311wT21Et0q3vepFwXjTu'},\n", + " {'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/3WrFJ7ztbogyGnTHbHJFl2'},\n", + " 'href': 'https://api.spotify.com/v1/artists/3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'id': '3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'name': 'The Beatles',\n", + " 'type': 'artist',\n", + " 'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl2'}],\n", + " 'available_markets': ['AD',\n", + " 'AR',\n", + " 'AT',\n", + " 'AU',\n", + " 'BE',\n", + " 'BG',\n", + " 'BO',\n", + " 'BR',\n", + " 'CH',\n", + " 'CL',\n", + " 'CO',\n", + " 'CR',\n", + " 'CY',\n", + " 'CZ',\n", + " 'DE',\n", + " 'DK',\n", + " 'DO',\n", + " 'EC',\n", + " 'EE',\n", + " 'ES',\n", + " 'FI',\n", + " 'FR',\n", + " 'GB',\n", + " 'GR',\n", + " 'GT',\n", + " 'HK',\n", + " 'HN',\n", + " 'HU',\n", + " 'ID',\n", + " 'IE',\n", + " 'IS',\n", + " 'IT',\n", + " 'JP',\n", + " 'LI',\n", + " 'LT',\n", + " 'LU',\n", + " 'LV',\n", + " 'MC',\n", + " 'MT',\n", + " 'MY',\n", + " 'NI',\n", + " 'NL',\n", + " 'NO',\n", + " 'NZ',\n", + " 'PA',\n", + " 'PE',\n", + " 'PH',\n", + " 'PL',\n", + " 'PT',\n", + " 'PY',\n", + " 'SE',\n", + " 'SG',\n", + " 'SK',\n", + " 'SV',\n", + " 'TR',\n", + " 'TW',\n", + " 'UY'],\n", + " 'disc_number': 1,\n", + " 'duration_ms': 218186,\n", + " 'explicit': False,\n", + " 'external_urls': {'spotify': 'https://open.spotify.com/track/2rG2c14sIgzyIRdbw3edaL'},\n", + " 'href': 'https://api.spotify.com/v1/tracks/2rG2c14sIgzyIRdbw3edaL',\n", + " 'id': '2rG2c14sIgzyIRdbw3edaL',\n", + " 'name': 'The Long And Winding Road - Remastered 2009',\n", + " 'preview_url': 'https://p.scdn.co/mp3-preview/8341b49c6799af4863eb434484e7a0b544a32466?cid=null',\n", + " 'track_number': 10,\n", + " 'type': 'track',\n", + " 'uri': 'spotify:track:2rG2c14sIgzyIRdbw3edaL'},\n", + " {'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/3WrFJ7ztbogyGnTHbHJFl2'},\n", + " 'href': 'https://api.spotify.com/v1/artists/3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'id': '3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'name': 'The Beatles',\n", + " 'type': 'artist',\n", + " 'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl2'}],\n", + " 'available_markets': ['AD',\n", + " 'AR',\n", + " 'AT',\n", + " 'AU',\n", + " 'BE',\n", + " 'BG',\n", + " 'BO',\n", + " 'BR',\n", + " 'CH',\n", + " 'CL',\n", + " 'CO',\n", + " 'CR',\n", + " 'CY',\n", + " 'CZ',\n", + " 'DE',\n", + " 'DK',\n", + " 'DO',\n", + " 'EC',\n", + " 'EE',\n", + " 'ES',\n", + " 'FI',\n", + " 'FR',\n", + " 'GB',\n", + " 'GR',\n", + " 'GT',\n", + " 'HK',\n", + " 'HN',\n", + " 'HU',\n", + " 'ID',\n", + " 'IE',\n", + " 'IS',\n", + " 'IT',\n", + " 'JP',\n", + " 'LI',\n", + " 'LT',\n", + " 'LU',\n", + " 'LV',\n", + " 'MC',\n", + " 'MT',\n", + " 'MY',\n", + " 'NI',\n", + " 'NL',\n", + " 'NO',\n", + " 'NZ',\n", + " 'PA',\n", + " 'PE',\n", + " 'PH',\n", + " 'PL',\n", + " 'PT',\n", + " 'PY',\n", + " 'SE',\n", + " 'SG',\n", + " 'SK',\n", + " 'SV',\n", + " 'TR',\n", + " 'TW',\n", + " 'UY'],\n", + " 'disc_number': 1,\n", + " 'duration_ms': 152213,\n", + " 'explicit': False,\n", + " 'external_urls': {'spotify': 'https://open.spotify.com/track/0cJ053ljI4BuP5P8tJnK5j'},\n", + " 'href': 'https://api.spotify.com/v1/tracks/0cJ053ljI4BuP5P8tJnK5j',\n", + " 'id': '0cJ053ljI4BuP5P8tJnK5j',\n", + " 'name': 'For You Blue - Remastered 2009',\n", + " 'preview_url': 'https://p.scdn.co/mp3-preview/f3fea62baa9ba4f2205600b707abc18a683a2945?cid=null',\n", + " 'track_number': 11,\n", + " 'type': 'track',\n", + " 'uri': 'spotify:track:0cJ053ljI4BuP5P8tJnK5j'},\n", + " {'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/3WrFJ7ztbogyGnTHbHJFl2'},\n", + " 'href': 'https://api.spotify.com/v1/artists/3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'id': '3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'name': 'The Beatles',\n", + " 'type': 'artist',\n", + " 'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl2'}],\n", + " 'available_markets': ['AD',\n", + " 'AR',\n", + " 'AT',\n", + " 'AU',\n", + " 'BE',\n", + " 'BG',\n", + " 'BO',\n", + " 'BR',\n", + " 'CH',\n", + " 'CL',\n", + " 'CO',\n", + " 'CR',\n", + " 'CY',\n", + " 'CZ',\n", + " 'DE',\n", + " 'DK',\n", + " 'DO',\n", + " 'EC',\n", + " 'EE',\n", + " 'ES',\n", + " 'FI',\n", + " 'FR',\n", + " 'GB',\n", + " 'GR',\n", + " 'GT',\n", + " 'HK',\n", + " 'HN',\n", + " 'HU',\n", + " 'ID',\n", + " 'IE',\n", + " 'IS',\n", + " 'IT',\n", + " 'JP',\n", + " 'LI',\n", + " 'LT',\n", + " 'LU',\n", + " 'LV',\n", + " 'MC',\n", + " 'MT',\n", + " 'MY',\n", + " 'NI',\n", + " 'NL',\n", + " 'NO',\n", + " 'NZ',\n", + " 'PA',\n", + " 'PE',\n", + " 'PH',\n", + " 'PL',\n", + " 'PT',\n", + " 'PY',\n", + " 'SE',\n", + " 'SG',\n", + " 'SK',\n", + " 'SV',\n", + " 'TR',\n", + " 'TW',\n", + " 'UY'],\n", + " 'disc_number': 1,\n", + " 'duration_ms': 189386,\n", + " 'explicit': False,\n", + " 'external_urls': {'spotify': 'https://open.spotify.com/track/3JzL2n8ofVRV6pZXAMGQ93'},\n", + " 'href': 'https://api.spotify.com/v1/tracks/3JzL2n8ofVRV6pZXAMGQ93',\n", + " 'id': '3JzL2n8ofVRV6pZXAMGQ93',\n", + " 'name': 'Get Back - Remastered 2009',\n", + " 'preview_url': 'https://p.scdn.co/mp3-preview/e1ee31a4cc8492cc8ab4bcc531abb2a10a0780a6?cid=null',\n", + " 'track_number': 12,\n", + " 'type': 'track',\n", + " 'uri': 'spotify:track:3JzL2n8ofVRV6pZXAMGQ93'}],\n", + " 'limit': 50,\n", + " 'next': None,\n", + " 'offset': 0,\n", + " 'previous': None,\n", + " 'total': 12},\n", + " 'type': 'album',\n", + " 'uri': 'spotify:album:2pCqZLeavM2BMovJXsJEIV'}" + ] + }, + "execution_count": 21, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "albums.find_one({'_id': '2pCqZLeavM2BMovJXsJEIV'})" + ] + }, + { + "cell_type": "code", + "execution_count": 22, + "metadata": { + "collapsed": false, + "scrolled": true + }, + "outputs": [ + { + "data": { + "text/plain": [ + "{'_id': '6P9yO0ukhOx3dvmhGKeYoC',\n", + " 'album_type': 'album',\n", + " 'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/3WrFJ7ztbogyGnTHbHJFl2'},\n", + " 'href': 'https://api.spotify.com/v1/artists/3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'id': '3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'name': 'The Beatles',\n", + " 'type': 'artist',\n", + " 'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl2'}],\n", + " 'available_markets': ['AD',\n", + " 'AR',\n", + " 'AT',\n", + " 'AU',\n", + " 'BE',\n", + " 'BG',\n", + " 'BO',\n", + " 'BR',\n", + " 'CH',\n", + " 'CL',\n", + " 'CO',\n", + " 'CR',\n", + " 'CY',\n", + " 'CZ',\n", + " 'DE',\n", + " 'DK',\n", + " 'DO',\n", + " 'EC',\n", + " 'EE',\n", + " 'ES',\n", + " 'FI',\n", + " 'FR',\n", + " 'GB',\n", + " 'GR',\n", + " 'GT',\n", + " 'HK',\n", + " 'HN',\n", + " 'HU',\n", + " 'ID',\n", + " 'IE',\n", + " 'IS',\n", + " 'IT',\n", + " 'JP',\n", + " 'LI',\n", + " 'LT',\n", + " 'LU',\n", + " 'LV',\n", + " 'MC',\n", + " 'MT',\n", + " 'MY',\n", + " 'NI',\n", + " 'NL',\n", + " 'NO',\n", + " 'NZ',\n", + " 'PA',\n", + " 'PE',\n", + " 'PH',\n", + " 'PL',\n", + " 'PT',\n", + " 'PY',\n", + " 'SE',\n", + " 'SG',\n", + " 'SK',\n", + " 'SV',\n", + " 'TR',\n", + " 'TW',\n", + " 'UY'],\n", + " 'copyrights': [{'text': '(C) 2015 Apple Corps Ltd', 'type': 'C'},\n", + " {'text': '(P) 2015 Calderstone Productions Limited (a division of Universal Music Group)',\n", + " 'type': 'P'}],\n", + " 'external_ids': {'upc': '00602547670076'},\n", + " 'external_urls': {'spotify': 'https://open.spotify.com/album/6P9yO0ukhOx3dvmhGKeYoC'},\n", + " 'genres': [],\n", + " 'href': 'https://api.spotify.com/v1/albums/6P9yO0ukhOx3dvmhGKeYoC',\n", + " 'id': '6P9yO0ukhOx3dvmhGKeYoC',\n", + " 'images': [{'height': 640,\n", + " 'url': 'https://i.scdn.co/image/5779cc9a2ea0d1aa474a6e9575864d6d348acf97',\n", + " 'width': 640},\n", + " {'height': 300,\n", + " 'url': 'https://i.scdn.co/image/a33a11dc85f7eaefa23cf20da067026f02b7c8ed',\n", + " 'width': 300},\n", + " {'height': 64,\n", + " 'url': 'https://i.scdn.co/image/e37f1e1615d028e9edb4546765e8b4e25d500dc3',\n", + " 'width': 64}],\n", + " 'label': 'EMI Catalogue',\n", + " 'name': 'Magical Mystery Tour (Remastered)',\n", + " 'popularity': 67,\n", + " 'release_date': '1967-11-27',\n", + " 'release_date_precision': 'day',\n", + " 'tracks': {'href': 'https://api.spotify.com/v1/albums/6P9yO0ukhOx3dvmhGKeYoC/tracks?offset=0&limit=50',\n", + " 'items': [{'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/3WrFJ7ztbogyGnTHbHJFl2'},\n", + " 'href': 'https://api.spotify.com/v1/artists/3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'id': '3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'name': 'The Beatles',\n", + " 'type': 'artist',\n", + " 'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl2'}],\n", + " 'available_markets': ['AD',\n", + " 'AR',\n", + " 'AT',\n", + " 'AU',\n", + " 'BE',\n", + " 'BG',\n", + " 'BO',\n", + " 'BR',\n", + " 'CH',\n", + " 'CL',\n", + " 'CO',\n", + " 'CR',\n", + " 'CY',\n", + " 'CZ',\n", + " 'DE',\n", + " 'DK',\n", + " 'DO',\n", + " 'EC',\n", + " 'EE',\n", + " 'ES',\n", + " 'FI',\n", + " 'FR',\n", + " 'GB',\n", + " 'GR',\n", + " 'GT',\n", + " 'HK',\n", + " 'HN',\n", + " 'HU',\n", + " 'ID',\n", + " 'IE',\n", + " 'IS',\n", + " 'IT',\n", + " 'JP',\n", + " 'LI',\n", + " 'LT',\n", + " 'LU',\n", + " 'LV',\n", + " 'MC',\n", + " 'MT',\n", + " 'MY',\n", + " 'NI',\n", + " 'NL',\n", + " 'NO',\n", + " 'NZ',\n", + " 'PA',\n", + " 'PE',\n", + " 'PH',\n", + " 'PL',\n", + " 'PT',\n", + " 'PY',\n", + " 'SE',\n", + " 'SG',\n", + " 'SK',\n", + " 'SV',\n", + " 'TR',\n", + " 'TW',\n", + " 'UY'],\n", + " 'disc_number': 1,\n", + " 'duration_ms': 170106,\n", + " 'explicit': False,\n", + " 'external_urls': {'spotify': 'https://open.spotify.com/track/7GeZEzG1QEjqRzuWVlrBFt'},\n", + " 'href': 'https://api.spotify.com/v1/tracks/7GeZEzG1QEjqRzuWVlrBFt',\n", + " 'id': '7GeZEzG1QEjqRzuWVlrBFt',\n", + " 'name': 'Magical Mystery Tour - Remastered 2009',\n", + " 'preview_url': 'https://p.scdn.co/mp3-preview/e3b1c07774756635975fb4af777e200708645c3f?cid=null',\n", + " 'track_number': 1,\n", + " 'type': 'track',\n", + " 'uri': 'spotify:track:7GeZEzG1QEjqRzuWVlrBFt'},\n", + " {'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/3WrFJ7ztbogyGnTHbHJFl2'},\n", + " 'href': 'https://api.spotify.com/v1/artists/3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'id': '3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'name': 'The Beatles',\n", + " 'type': 'artist',\n", + " 'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl2'}],\n", + " 'available_markets': ['AD',\n", + " 'AR',\n", + " 'AT',\n", + " 'AU',\n", + " 'BE',\n", + " 'BG',\n", + " 'BO',\n", + " 'BR',\n", + " 'CH',\n", + " 'CL',\n", + " 'CO',\n", + " 'CR',\n", + " 'CY',\n", + " 'CZ',\n", + " 'DE',\n", + " 'DK',\n", + " 'DO',\n", + " 'EC',\n", + " 'EE',\n", + " 'ES',\n", + " 'FI',\n", + " 'FR',\n", + " 'GB',\n", + " 'GR',\n", + " 'GT',\n", + " 'HK',\n", + " 'HN',\n", + " 'HU',\n", + " 'ID',\n", + " 'IE',\n", + " 'IS',\n", + " 'IT',\n", + " 'JP',\n", + " 'LI',\n", + " 'LT',\n", + " 'LU',\n", + " 'LV',\n", + " 'MC',\n", + " 'MT',\n", + " 'MY',\n", + " 'NI',\n", + " 'NL',\n", + " 'NO',\n", + " 'NZ',\n", + " 'PA',\n", + " 'PE',\n", + " 'PH',\n", + " 'PL',\n", + " 'PT',\n", + " 'PY',\n", + " 'SE',\n", + " 'SG',\n", + " 'SK',\n", + " 'SV',\n", + " 'TR',\n", + " 'TW',\n", + " 'UY'],\n", + " 'disc_number': 1,\n", + " 'duration_ms': 179106,\n", + " 'explicit': False,\n", + " 'external_urls': {'spotify': 'https://open.spotify.com/track/3RhBkGg4edWdwcuGdHcl28'},\n", + " 'href': 'https://api.spotify.com/v1/tracks/3RhBkGg4edWdwcuGdHcl28',\n", + " 'id': '3RhBkGg4edWdwcuGdHcl28',\n", + " 'name': 'The Fool On The Hill - Remastered 2009',\n", + " 'preview_url': 'https://p.scdn.co/mp3-preview/15957b99532628b54588eba68003f6400f1de48b?cid=null',\n", + " 'track_number': 2,\n", + " 'type': 'track',\n", + " 'uri': 'spotify:track:3RhBkGg4edWdwcuGdHcl28'},\n", + " {'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/3WrFJ7ztbogyGnTHbHJFl2'},\n", + " 'href': 'https://api.spotify.com/v1/artists/3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'id': '3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'name': 'The Beatles',\n", + " 'type': 'artist',\n", + " 'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl2'}],\n", + " 'available_markets': ['AD',\n", + " 'AR',\n", + " 'AT',\n", + " 'AU',\n", + " 'BE',\n", + " 'BG',\n", + " 'BO',\n", + " 'BR',\n", + " 'CH',\n", + " 'CL',\n", + " 'CO',\n", + " 'CR',\n", + " 'CY',\n", + " 'CZ',\n", + " 'DE',\n", + " 'DK',\n", + " 'DO',\n", + " 'EC',\n", + " 'EE',\n", + " 'ES',\n", + " 'FI',\n", + " 'FR',\n", + " 'GB',\n", + " 'GR',\n", + " 'GT',\n", + " 'HK',\n", + " 'HN',\n", + " 'HU',\n", + " 'ID',\n", + " 'IE',\n", + " 'IS',\n", + " 'IT',\n", + " 'JP',\n", + " 'LI',\n", + " 'LT',\n", + " 'LU',\n", + " 'LV',\n", + " 'MC',\n", + " 'MT',\n", + " 'MY',\n", + " 'NI',\n", + " 'NL',\n", + " 'NO',\n", + " 'NZ',\n", + " 'PA',\n", + " 'PE',\n", + " 'PH',\n", + " 'PL',\n", + " 'PT',\n", + " 'PY',\n", + " 'SE',\n", + " 'SG',\n", + " 'SK',\n", + " 'SV',\n", + " 'TR',\n", + " 'TW',\n", + " 'UY'],\n", + " 'disc_number': 1,\n", + " 'duration_ms': 135520,\n", + " 'explicit': False,\n", + " 'external_urls': {'spotify': 'https://open.spotify.com/track/2z1p43SNSbeowzy8WdYHNk'},\n", + " 'href': 'https://api.spotify.com/v1/tracks/2z1p43SNSbeowzy8WdYHNk',\n", + " 'id': '2z1p43SNSbeowzy8WdYHNk',\n", + " 'name': 'Flying - Remastered 2009',\n", + " 'preview_url': 'https://p.scdn.co/mp3-preview/15f07b753cb7e50ccb2a93483fa6410bfe9369f1?cid=null',\n", + " 'track_number': 3,\n", + " 'type': 'track',\n", + " 'uri': 'spotify:track:2z1p43SNSbeowzy8WdYHNk'},\n", + " {'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/3WrFJ7ztbogyGnTHbHJFl2'},\n", + " 'href': 'https://api.spotify.com/v1/artists/3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'id': '3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'name': 'The Beatles',\n", + " 'type': 'artist',\n", + " 'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl2'}],\n", + " 'available_markets': ['AD',\n", + " 'AR',\n", + " 'AT',\n", + " 'AU',\n", + " 'BE',\n", + " 'BG',\n", + " 'BO',\n", + " 'BR',\n", + " 'CH',\n", + " 'CL',\n", + " 'CO',\n", + " 'CR',\n", + " 'CY',\n", + " 'CZ',\n", + " 'DE',\n", + " 'DK',\n", + " 'DO',\n", + " 'EC',\n", + " 'EE',\n", + " 'ES',\n", + " 'FI',\n", + " 'FR',\n", + " 'GB',\n", + " 'GR',\n", + " 'GT',\n", + " 'HK',\n", + " 'HN',\n", + " 'HU',\n", + " 'ID',\n", + " 'IE',\n", + " 'IS',\n", + " 'IT',\n", + " 'JP',\n", + " 'LI',\n", + " 'LT',\n", + " 'LU',\n", + " 'LV',\n", + " 'MC',\n", + " 'MT',\n", + " 'MY',\n", + " 'NI',\n", + " 'NL',\n", + " 'NO',\n", + " 'NZ',\n", + " 'PA',\n", + " 'PE',\n", + " 'PH',\n", + " 'PL',\n", + " 'PT',\n", + " 'PY',\n", + " 'SE',\n", + " 'SG',\n", + " 'SK',\n", + " 'SV',\n", + " 'TR',\n", + " 'TW',\n", + " 'UY'],\n", + " 'disc_number': 1,\n", + " 'duration_ms': 235066,\n", + " 'explicit': False,\n", + " 'external_urls': {'spotify': 'https://open.spotify.com/track/0ttMfoND7IQqFSMVOPkELC'},\n", + " 'href': 'https://api.spotify.com/v1/tracks/0ttMfoND7IQqFSMVOPkELC',\n", + " 'id': '0ttMfoND7IQqFSMVOPkELC',\n", + " 'name': 'Blue Jay Way - Remastered 2009',\n", + " 'preview_url': 'https://p.scdn.co/mp3-preview/0b56242450f17ac6d0a6ea069d19bac2e3105bcf?cid=null',\n", + " 'track_number': 4,\n", + " 'type': 'track',\n", + " 'uri': 'spotify:track:0ttMfoND7IQqFSMVOPkELC'},\n", + " {'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/3WrFJ7ztbogyGnTHbHJFl2'},\n", + " 'href': 'https://api.spotify.com/v1/artists/3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'id': '3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'name': 'The Beatles',\n", + " 'type': 'artist',\n", + " 'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl2'}],\n", + " 'available_markets': ['AD',\n", + " 'AR',\n", + " 'AT',\n", + " 'AU',\n", + " 'BE',\n", + " 'BG',\n", + " 'BO',\n", + " 'BR',\n", + " 'CH',\n", + " 'CL',\n", + " 'CO',\n", + " 'CR',\n", + " 'CY',\n", + " 'CZ',\n", + " 'DE',\n", + " 'DK',\n", + " 'DO',\n", + " 'EC',\n", + " 'EE',\n", + " 'ES',\n", + " 'FI',\n", + " 'FR',\n", + " 'GB',\n", + " 'GR',\n", + " 'GT',\n", + " 'HK',\n", + " 'HN',\n", + " 'HU',\n", + " 'ID',\n", + " 'IE',\n", + " 'IS',\n", + " 'IT',\n", + " 'JP',\n", + " 'LI',\n", + " 'LT',\n", + " 'LU',\n", + " 'LV',\n", + " 'MC',\n", + " 'MT',\n", + " 'MY',\n", + " 'NI',\n", + " 'NL',\n", + " 'NO',\n", + " 'NZ',\n", + " 'PA',\n", + " 'PE',\n", + " 'PH',\n", + " 'PL',\n", + " 'PT',\n", + " 'PY',\n", + " 'SE',\n", + " 'SG',\n", + " 'SK',\n", + " 'SV',\n", + " 'TR',\n", + " 'TW',\n", + " 'UY'],\n", + " 'disc_number': 1,\n", + " 'duration_ms': 148413,\n", + " 'explicit': False,\n", + " 'external_urls': {'spotify': 'https://open.spotify.com/track/61iJ2np62qzaMdEcGvjICc'},\n", + " 'href': 'https://api.spotify.com/v1/tracks/61iJ2np62qzaMdEcGvjICc',\n", + " 'id': '61iJ2np62qzaMdEcGvjICc',\n", + " 'name': 'Your Mother Should Know - Remastered 2009',\n", + " 'preview_url': 'https://p.scdn.co/mp3-preview/7a3083cd2ff49a98939cf370dbe47901bb745914?cid=null',\n", + " 'track_number': 5,\n", + " 'type': 'track',\n", + " 'uri': 'spotify:track:61iJ2np62qzaMdEcGvjICc'},\n", + " {'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/3WrFJ7ztbogyGnTHbHJFl2'},\n", + " 'href': 'https://api.spotify.com/v1/artists/3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'id': '3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'name': 'The Beatles',\n", + " 'type': 'artist',\n", + " 'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl2'}],\n", + " 'available_markets': ['AD',\n", + " 'AR',\n", + " 'AT',\n", + " 'AU',\n", + " 'BE',\n", + " 'BG',\n", + " 'BO',\n", + " 'BR',\n", + " 'CH',\n", + " 'CL',\n", + " 'CO',\n", + " 'CR',\n", + " 'CY',\n", + " 'CZ',\n", + " 'DE',\n", + " 'DK',\n", + " 'DO',\n", + " 'EC',\n", + " 'EE',\n", + " 'ES',\n", + " 'FI',\n", + " 'FR',\n", + " 'GB',\n", + " 'GR',\n", + " 'GT',\n", + " 'HK',\n", + " 'HN',\n", + " 'HU',\n", + " 'ID',\n", + " 'IE',\n", + " 'IS',\n", + " 'IT',\n", + " 'JP',\n", + " 'LI',\n", + " 'LT',\n", + " 'LU',\n", + " 'LV',\n", + " 'MC',\n", + " 'MT',\n", + " 'MY',\n", + " 'NI',\n", + " 'NL',\n", + " 'NO',\n", + " 'NZ',\n", + " 'PA',\n", + " 'PE',\n", + " 'PH',\n", + " 'PL',\n", + " 'PT',\n", + " 'PY',\n", + " 'SE',\n", + " 'SG',\n", + " 'SK',\n", + " 'SV',\n", + " 'TR',\n", + " 'TW',\n", + " 'UY'],\n", + " 'disc_number': 1,\n", + " 'duration_ms': 275866,\n", + " 'explicit': False,\n", + " 'external_urls': {'spotify': 'https://open.spotify.com/track/4qmvOVUt7U8szKXspAoLVy'},\n", + " 'href': 'https://api.spotify.com/v1/tracks/4qmvOVUt7U8szKXspAoLVy',\n", + " 'id': '4qmvOVUt7U8szKXspAoLVy',\n", + " 'name': 'I Am The Walrus - Remastered 2009',\n", + " 'preview_url': 'https://p.scdn.co/mp3-preview/50ec02743f1c816e0336ac6f54aa47c179365e3c?cid=null',\n", + " 'track_number': 6,\n", + " 'type': 'track',\n", + " 'uri': 'spotify:track:4qmvOVUt7U8szKXspAoLVy'},\n", + " {'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/3WrFJ7ztbogyGnTHbHJFl2'},\n", + " 'href': 'https://api.spotify.com/v1/artists/3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'id': '3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'name': 'The Beatles',\n", + " 'type': 'artist',\n", + " 'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl2'}],\n", + " 'available_markets': ['AD',\n", + " 'AR',\n", + " 'AT',\n", + " 'AU',\n", + " 'BE',\n", + " 'BG',\n", + " 'BO',\n", + " 'BR',\n", + " 'CH',\n", + " 'CL',\n", + " 'CO',\n", + " 'CR',\n", + " 'CY',\n", + " 'CZ',\n", + " 'DE',\n", + " 'DK',\n", + " 'DO',\n", + " 'EC',\n", + " 'EE',\n", + " 'ES',\n", + " 'FI',\n", + " 'FR',\n", + " 'GB',\n", + " 'GR',\n", + " 'GT',\n", + " 'HK',\n", + " 'HN',\n", + " 'HU',\n", + " 'ID',\n", + " 'IE',\n", + " 'IS',\n", + " 'IT',\n", + " 'JP',\n", + " 'LI',\n", + " 'LT',\n", + " 'LU',\n", + " 'LV',\n", + " 'MC',\n", + " 'MT',\n", + " 'MY',\n", + " 'NI',\n", + " 'NL',\n", + " 'NO',\n", + " 'NZ',\n", + " 'PA',\n", + " 'PE',\n", + " 'PH',\n", + " 'PL',\n", + " 'PT',\n", + " 'PY',\n", + " 'SE',\n", + " 'SG',\n", + " 'SK',\n", + " 'SV',\n", + " 'TR',\n", + " 'TW',\n", + " 'UY'],\n", + " 'disc_number': 1,\n", + " 'duration_ms': 208840,\n", + " 'explicit': False,\n", + " 'external_urls': {'spotify': 'https://open.spotify.com/track/7c76SiAfT7JkMiCm8BBCcP'},\n", + " 'href': 'https://api.spotify.com/v1/tracks/7c76SiAfT7JkMiCm8BBCcP',\n", + " 'id': '7c76SiAfT7JkMiCm8BBCcP',\n", + " 'name': 'Hello, Goodbye - Remastered 2009',\n", + " 'preview_url': 'https://p.scdn.co/mp3-preview/67e22cbd800d3c34238dfa60aaa35e7ced675559?cid=null',\n", + " 'track_number': 7,\n", + " 'type': 'track',\n", + " 'uri': 'spotify:track:7c76SiAfT7JkMiCm8BBCcP'},\n", + " {'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/3WrFJ7ztbogyGnTHbHJFl2'},\n", + " 'href': 'https://api.spotify.com/v1/artists/3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'id': '3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'name': 'The Beatles',\n", + " 'type': 'artist',\n", + " 'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl2'}],\n", + " 'available_markets': ['AD',\n", + " 'AR',\n", + " 'AT',\n", + " 'AU',\n", + " 'BE',\n", + " 'BG',\n", + " 'BO',\n", + " 'BR',\n", + " 'CH',\n", + " 'CL',\n", + " 'CO',\n", + " 'CR',\n", + " 'CY',\n", + " 'CZ',\n", + " 'DE',\n", + " 'DK',\n", + " 'DO',\n", + " 'EC',\n", + " 'EE',\n", + " 'ES',\n", + " 'FI',\n", + " 'FR',\n", + " 'GB',\n", + " 'GR',\n", + " 'GT',\n", + " 'HK',\n", + " 'HN',\n", + " 'HU',\n", + " 'ID',\n", + " 'IE',\n", + " 'IS',\n", + " 'IT',\n", + " 'JP',\n", + " 'LI',\n", + " 'LT',\n", + " 'LU',\n", + " 'LV',\n", + " 'MC',\n", + " 'MT',\n", + " 'MY',\n", + " 'NI',\n", + " 'NL',\n", + " 'NO',\n", + " 'NZ',\n", + " 'PA',\n", + " 'PE',\n", + " 'PH',\n", + " 'PL',\n", + " 'PT',\n", + " 'PY',\n", + " 'SE',\n", + " 'SG',\n", + " 'SK',\n", + " 'SV',\n", + " 'TR',\n", + " 'TW',\n", + " 'UY'],\n", + " 'disc_number': 1,\n", + " 'duration_ms': 247320,\n", + " 'explicit': False,\n", + " 'external_urls': {'spotify': 'https://open.spotify.com/track/5EuraV2jbqB15ihd3d2Hex'},\n", + " 'href': 'https://api.spotify.com/v1/tracks/5EuraV2jbqB15ihd3d2Hex',\n", + " 'id': '5EuraV2jbqB15ihd3d2Hex',\n", + " 'name': 'Strawberry Fields Forever - Remastered 2009',\n", + " 'preview_url': 'https://p.scdn.co/mp3-preview/5e78e78228d30e272ff9d60822032ce85b17a8d9?cid=null',\n", + " 'track_number': 8,\n", + " 'type': 'track',\n", + " 'uri': 'spotify:track:5EuraV2jbqB15ihd3d2Hex'},\n", + " {'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/3WrFJ7ztbogyGnTHbHJFl2'},\n", + " 'href': 'https://api.spotify.com/v1/artists/3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'id': '3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'name': 'The Beatles',\n", + " 'type': 'artist',\n", + " 'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl2'}],\n", + " 'available_markets': ['AD',\n", + " 'AR',\n", + " 'AT',\n", + " 'AU',\n", + " 'BE',\n", + " 'BG',\n", + " 'BO',\n", + " 'BR',\n", + " 'CH',\n", + " 'CL',\n", + " 'CO',\n", + " 'CR',\n", + " 'CY',\n", + " 'CZ',\n", + " 'DE',\n", + " 'DK',\n", + " 'DO',\n", + " 'EC',\n", + " 'EE',\n", + " 'ES',\n", + " 'FI',\n", + " 'FR',\n", + " 'GB',\n", + " 'GR',\n", + " 'GT',\n", + " 'HK',\n", + " 'HN',\n", + " 'HU',\n", + " 'ID',\n", + " 'IE',\n", + " 'IS',\n", + " 'IT',\n", + " 'JP',\n", + " 'LI',\n", + " 'LT',\n", + " 'LU',\n", + " 'LV',\n", + " 'MC',\n", + " 'MT',\n", + " 'MY',\n", + " 'NI',\n", + " 'NL',\n", + " 'NO',\n", + " 'NZ',\n", + " 'PA',\n", + " 'PE',\n", + " 'PH',\n", + " 'PL',\n", + " 'PT',\n", + " 'PY',\n", + " 'SE',\n", + " 'SG',\n", + " 'SK',\n", + " 'SV',\n", + " 'TR',\n", + " 'TW',\n", + " 'UY'],\n", + " 'disc_number': 1,\n", + " 'duration_ms': 180893,\n", + " 'explicit': False,\n", + " 'external_urls': {'spotify': 'https://open.spotify.com/track/5RStjc42UAYI2NMY3cYpgz'},\n", + " 'href': 'https://api.spotify.com/v1/tracks/5RStjc42UAYI2NMY3cYpgz',\n", + " 'id': '5RStjc42UAYI2NMY3cYpgz',\n", + " 'name': 'Penny Lane - Remastered 2009',\n", + " 'preview_url': 'https://p.scdn.co/mp3-preview/f9e702a19091af679ec9223b9494927953b58438?cid=null',\n", + " 'track_number': 9,\n", + " 'type': 'track',\n", + " 'uri': 'spotify:track:5RStjc42UAYI2NMY3cYpgz'},\n", + " {'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/3WrFJ7ztbogyGnTHbHJFl2'},\n", + " 'href': 'https://api.spotify.com/v1/artists/3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'id': '3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'name': 'The Beatles',\n", + " 'type': 'artist',\n", + " 'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl2'}],\n", + " 'available_markets': ['AD',\n", + " 'AR',\n", + " 'AT',\n", + " 'AU',\n", + " 'BE',\n", + " 'BG',\n", + " 'BO',\n", + " 'BR',\n", + " 'CH',\n", + " 'CL',\n", + " 'CO',\n", + " 'CR',\n", + " 'CY',\n", + " 'CZ',\n", + " 'DE',\n", + " 'DK',\n", + " 'DO',\n", + " 'EC',\n", + " 'EE',\n", + " 'ES',\n", + " 'FI',\n", + " 'FR',\n", + " 'GB',\n", + " 'GR',\n", + " 'GT',\n", + " 'HK',\n", + " 'HN',\n", + " 'HU',\n", + " 'ID',\n", + " 'IE',\n", + " 'IS',\n", + " 'IT',\n", + " 'JP',\n", + " 'LI',\n", + " 'LT',\n", + " 'LU',\n", + " 'LV',\n", + " 'MC',\n", + " 'MT',\n", + " 'MY',\n", + " 'NI',\n", + " 'NL',\n", + " 'NO',\n", + " 'NZ',\n", + " 'PA',\n", + " 'PE',\n", + " 'PH',\n", + " 'PL',\n", + " 'PT',\n", + " 'PY',\n", + " 'SE',\n", + " 'SG',\n", + " 'SK',\n", + " 'SV',\n", + " 'TR',\n", + " 'TW',\n", + " 'UY'],\n", + " 'disc_number': 1,\n", + " 'duration_ms': 181306,\n", + " 'explicit': False,\n", + " 'external_urls': {'spotify': 'https://open.spotify.com/track/7ncH66qOYWLn3Bdw4OjoFi'},\n", + " 'href': 'https://api.spotify.com/v1/tracks/7ncH66qOYWLn3Bdw4OjoFi',\n", + " 'id': '7ncH66qOYWLn3Bdw4OjoFi',\n", + " 'name': \"Baby, You're A Rich Man - Remastered 2009\",\n", + " 'preview_url': 'https://p.scdn.co/mp3-preview/a518dac535501e2d73aa93d17b55b8c6a1a4b002?cid=null',\n", + " 'track_number': 10,\n", + " 'type': 'track',\n", + " 'uri': 'spotify:track:7ncH66qOYWLn3Bdw4OjoFi'},\n", + " {'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/3WrFJ7ztbogyGnTHbHJFl2'},\n", + " 'href': 'https://api.spotify.com/v1/artists/3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'id': '3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'name': 'The Beatles',\n", + " 'type': 'artist',\n", + " 'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl2'}],\n", + " 'available_markets': ['AD',\n", + " 'AR',\n", + " 'AT',\n", + " 'AU',\n", + " 'BE',\n", + " 'BG',\n", + " 'BO',\n", + " 'BR',\n", + " 'CH',\n", + " 'CL',\n", + " 'CO',\n", + " 'CR',\n", + " 'CY',\n", + " 'CZ',\n", + " 'DE',\n", + " 'DK',\n", + " 'DO',\n", + " 'EC',\n", + " 'EE',\n", + " 'ES',\n", + " 'FI',\n", + " 'FR',\n", + " 'GB',\n", + " 'GR',\n", + " 'GT',\n", + " 'HK',\n", + " 'HN',\n", + " 'HU',\n", + " 'ID',\n", + " 'IE',\n", + " 'IS',\n", + " 'IT',\n", + " 'JP',\n", + " 'LI',\n", + " 'LT',\n", + " 'LU',\n", + " 'LV',\n", + " 'MC',\n", + " 'MT',\n", + " 'MY',\n", + " 'NI',\n", + " 'NL',\n", + " 'NO',\n", + " 'NZ',\n", + " 'PA',\n", + " 'PE',\n", + " 'PH',\n", + " 'PL',\n", + " 'PT',\n", + " 'PY',\n", + " 'SE',\n", + " 'SG',\n", + " 'SK',\n", + " 'SV',\n", + " 'TR',\n", + " 'TW',\n", + " 'UY'],\n", + " 'disc_number': 1,\n", + " 'duration_ms': 230386,\n", + " 'explicit': False,\n", + " 'external_urls': {'spotify': 'https://open.spotify.com/track/3xMSaDC9TU6AQJIsxQB7MK'},\n", + " 'href': 'https://api.spotify.com/v1/tracks/3xMSaDC9TU6AQJIsxQB7MK',\n", + " 'id': '3xMSaDC9TU6AQJIsxQB7MK',\n", + " 'name': 'All You Need Is Love - Remastered 2009',\n", + " 'preview_url': 'https://p.scdn.co/mp3-preview/4cad4aa3af57dbd77ce9fd82fa91eb6256c960cd?cid=null',\n", + " 'track_number': 11,\n", + " 'type': 'track',\n", + " 'uri': 'spotify:track:3xMSaDC9TU6AQJIsxQB7MK'}],\n", + " 'limit': 50,\n", + " 'next': None,\n", + " 'offset': 0,\n", + " 'previous': None,\n", + " 'total': 11},\n", + " 'type': 'album',\n", + " 'uri': 'spotify:album:6P9yO0ukhOx3dvmhGKeYoC'}" + ] + }, + "execution_count": 22, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "albums.find_one({'_id': '6P9yO0ukhOx3dvmhGKeYoC'})" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### Tag albums with artists\n", + "As we have tracks for two artists, let's keep the identification easy.\n", + "\n", + "* [Top](#top)" + ] + }, + { + "cell_type": "code", + "execution_count": 93, + "metadata": { + "collapsed": true + }, + "outputs": [], + "source": [ + "for a in albums.find({}, ['artists']):\n", + " albums.update_one({'_id': a['_id']}, \n", + " {'$set': {'artist_name': a['artists'][0]['name'],\n", + " 'artist_id': a['artists'][0]['id']}})" + ] + }, + { + "cell_type": "code", + "execution_count": 94, + "metadata": { + "collapsed": false, + "scrolled": true + }, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
_idartist_namename
05XfJmldgWzrc1AIdbBaVZnThe BeatlesLive At The Hollywood Bowl
15ju5Ouzan3QwXqQt1TihbhThe Beatles1 (Remastered)
22pCqZLeavM2BMovJXsJEIVThe BeatlesLet It Be (Remastered)
32Pqkn9Dq2DFtdfkKAeqgMdThe BeatlesAbbey Road (Remastered)
447bcKzmKgmMPHXNVOWpLiuThe BeatlesYellow Submarine (Remastered)
503Qh833fEdVT30Pfs93ea6The BeatlesThe Beatles (Remastered)
66P9yO0ukhOx3dvmhGKeYoCThe BeatlesMagical Mystery Tour (Remastered)
71PULmKbHeOqlkIwcDMNwD4The BeatlesSgt. Pepper's Lonely Hearts Club Band (Remaste...
80PYyrqs9NXtxPhf0CZkq2LThe BeatlesRevolver (Remastered)
93OdI6e43crvyAHhaqpxSyzThe BeatlesRubber Soul (Remastered)
1019K3IHYeVkUTjcBHGfbCOiThe BeatlesHelp! (Remastered)
117BgGBZndAvDlKOcwe5rscZThe BeatlesBeatles For Sale (Remastered)
1271Mwd9tntFQYUk4k2DwA0DThe BeatlesA Hard Day's Night (Remastered)
131DBkJIEoeHrTX4WCBQGcCiRadioheadThe King Of Limbs
143nkEsxmIX0zRNXGAexaHAnThe BeatlesWith The Beatles (Remastered)
157gDXyW16byCQOgK965BRznThe BeatlesPlease Please Me (Remastered)
166vuykQgDLUCiZ7YggIpLM9RadioheadA Moon Shaped Pool
1747xaqCsJcYFWqD1gwujl1TRadioheadTKOL RMX 1234567
187eyQXxuf2nGj9d2367Gi5fRadioheadIn Rainbows
1936lJLPoPPOKNFddTAcirncRadioheadIn Rainbows Disk 2
206Eo5EkmdLvZrONzi046iC2RadioheadCom Lag: 2+2=5
211oW3v5Har9mvXnGk0x4fHmRadioheadHail To the Thief
226svTt5o2lUgIrgYDKVmdnDRadioheadI Might Be Wrong
236V9YnBmFjWmXCBaUVRCVXPRadioheadAmnesiac
2419RUXBFyM4PpmrLRdtqWbpRadioheadKid A
257dxKtc08dYeRVHt3p9CZJnRadioheadOK Computer
26500FEaUzn8lN9zWFyZG5C2RadioheadThe Bends
276400dnyeDyD2mIFHfkwHXNRadioheadPablo Honey
\n", + "
" + ], + "text/plain": [ + " _id artist_name \\\n", + "0 5XfJmldgWzrc1AIdbBaVZn The Beatles \n", + "1 5ju5Ouzan3QwXqQt1Tihbh The Beatles \n", + "2 2pCqZLeavM2BMovJXsJEIV The Beatles \n", + "3 2Pqkn9Dq2DFtdfkKAeqgMd The Beatles \n", + "4 47bcKzmKgmMPHXNVOWpLiu The Beatles \n", + "5 03Qh833fEdVT30Pfs93ea6 The Beatles \n", + "6 6P9yO0ukhOx3dvmhGKeYoC The Beatles \n", + "7 1PULmKbHeOqlkIwcDMNwD4 The Beatles \n", + "8 0PYyrqs9NXtxPhf0CZkq2L The Beatles \n", + "9 3OdI6e43crvyAHhaqpxSyz The Beatles \n", + "10 19K3IHYeVkUTjcBHGfbCOi The Beatles \n", + "11 7BgGBZndAvDlKOcwe5rscZ The Beatles \n", + "12 71Mwd9tntFQYUk4k2DwA0D The Beatles \n", + "13 1DBkJIEoeHrTX4WCBQGcCi Radiohead \n", + "14 3nkEsxmIX0zRNXGAexaHAn The Beatles \n", + "15 7gDXyW16byCQOgK965BRzn The Beatles \n", + "16 6vuykQgDLUCiZ7YggIpLM9 Radiohead \n", + "17 47xaqCsJcYFWqD1gwujl1T Radiohead \n", + "18 7eyQXxuf2nGj9d2367Gi5f Radiohead \n", + "19 36lJLPoPPOKNFddTAcirnc Radiohead \n", + "20 6Eo5EkmdLvZrONzi046iC2 Radiohead \n", + "21 1oW3v5Har9mvXnGk0x4fHm Radiohead \n", + "22 6svTt5o2lUgIrgYDKVmdnD Radiohead \n", + "23 6V9YnBmFjWmXCBaUVRCVXP Radiohead \n", + "24 19RUXBFyM4PpmrLRdtqWbp Radiohead \n", + "25 7dxKtc08dYeRVHt3p9CZJn Radiohead \n", + "26 500FEaUzn8lN9zWFyZG5C2 Radiohead \n", + "27 6400dnyeDyD2mIFHfkwHXN Radiohead \n", + "\n", + " name \n", + "0 Live At The Hollywood Bowl \n", + "1 1 (Remastered) \n", + "2 Let It Be (Remastered) \n", + "3 Abbey Road (Remastered) \n", + "4 Yellow Submarine (Remastered) \n", + "5 The Beatles (Remastered) \n", + "6 Magical Mystery Tour (Remastered) \n", + "7 Sgt. Pepper's Lonely Hearts Club Band (Remaste... \n", + "8 Revolver (Remastered) \n", + "9 Rubber Soul (Remastered) \n", + "10 Help! (Remastered) \n", + "11 Beatles For Sale (Remastered) \n", + "12 A Hard Day's Night (Remastered) \n", + "13 The King Of Limbs \n", + "14 With The Beatles (Remastered) \n", + "15 Please Please Me (Remastered) \n", + "16 A Moon Shaped Pool \n", + "17 TKOL RMX 1234567 \n", + "18 In Rainbows \n", + "19 In Rainbows Disk 2 \n", + "20 Com Lag: 2+2=5 \n", + "21 Hail To the Thief \n", + "22 I Might Be Wrong \n", + "23 Amnesiac \n", + "24 Kid A \n", + "25 OK Computer \n", + "26 The Bends \n", + "27 Pablo Honey " + ] + }, + "execution_count": 94, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "pd.DataFrame(list(albums.find({}, ['name', 'artist_name'])))" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "According to the [Spotify documentation](https://developer.spotify.com/web-api/object-model/#track-object), some objects returned have only a bit of the data, and contain a `href` field for where to find the rest. The track details in the album documents fit that bill, so let's find the full track information.\n", + "\n", + "While doing this, not that Spotify will rate-limit the requests, so we have to include a loop to respect the timeout and retry the requests after the appropriate time." + ] + }, + { + "cell_type": "code", + "execution_count": 23, + "metadata": { + "collapsed": false + }, + "outputs": [], + "source": [ + "def get_tracks(album_id):\n", + " album = albums.find_one({'_id': album_id})\n", + " for t in album['tracks']['items']:\n", + " for _ in range(10):\n", + " try:\n", + " with urllib.request.urlopen(t['href']) as f:\n", + " track = json.loads(f.read().decode('utf-8'))\n", + " track['_id'] = track['id']\n", + " track['album'] = album_id\n", + " tracks.replace_one({'_id': track['_id']}, track, upsert=True)\n", + " break\n", + " except urllib.error.HTTPError as e:\n", + " print(\"Rate limited. Pausing for\", e.info()['Retry-After'])\n", + " time.sleep(int(e.info()['Retry-After']) + 0.5)\n", + " continue" + ] + }, + { + "cell_type": "code", + "execution_count": 88, + "metadata": { + "collapsed": false, + "scrolled": true + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Rate limited. Pausing for 1\n", + "Rate limited. Pausing for 0\n", + "Rate limited. Pausing for 4\n", + "Rate limited. Pausing for 3\n", + "Rate limited. Pausing for 0\n" + ] + }, + { + "data": { + "text/plain": [ + "383" + ] + }, + "execution_count": 88, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "for album in albums.find():\n", + " get_tracks(album['_id'])\n", + "tracks.find().count()" + ] + }, + { + "cell_type": "code", + "execution_count": 89, + "metadata": { + "collapsed": false, + "scrolled": true + }, + "outputs": [ + { + "data": { + "text/plain": [ + "{'_id': '150EAeMGWJRubuH8zyx7h8',\n", + " 'album': {'album_type': 'album',\n", + " 'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/3WrFJ7ztbogyGnTHbHJFl2'},\n", + " 'href': 'https://api.spotify.com/v1/artists/3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'id': '3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'name': 'The Beatles',\n", + " 'type': 'artist',\n", + " 'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl2'}],\n", + " 'available_markets': ['AD',\n", + " 'AR',\n", + " 'AT',\n", + " 'AU',\n", + " 'BE',\n", + " 'BG',\n", + " 'BO',\n", + " 'BR',\n", + " 'CH',\n", + " 'CL',\n", + " 'CO',\n", + " 'CR',\n", + " 'CY',\n", + " 'CZ',\n", + " 'DE',\n", + " 'DK',\n", + " 'DO',\n", + " 'EC',\n", + " 'EE',\n", + " 'ES',\n", + " 'FI',\n", + " 'FR',\n", + " 'GB',\n", + " 'GR',\n", + " 'GT',\n", + " 'HK',\n", + " 'HN',\n", + " 'HU',\n", + " 'ID',\n", + " 'IE',\n", + " 'IS',\n", + " 'IT',\n", + " 'JP',\n", + " 'LI',\n", + " 'LT',\n", + " 'LU',\n", + " 'LV',\n", + " 'MC',\n", + " 'MT',\n", + " 'MY',\n", + " 'NI',\n", + " 'NL',\n", + " 'NO',\n", + " 'NZ',\n", + " 'PA',\n", + " 'PE',\n", + " 'PH',\n", + " 'PL',\n", + " 'PT',\n", + " 'PY',\n", + " 'SE',\n", + " 'SG',\n", + " 'SK',\n", + " 'SV',\n", + " 'TR',\n", + " 'TW',\n", + " 'UY'],\n", + " 'external_urls': {'spotify': 'https://open.spotify.com/album/5XfJmldgWzrc1AIdbBaVZn'},\n", + " 'href': 'https://api.spotify.com/v1/albums/5XfJmldgWzrc1AIdbBaVZn',\n", + " 'id': '5XfJmldgWzrc1AIdbBaVZn',\n", + " 'images': [{'height': 640,\n", + " 'url': 'https://i.scdn.co/image/1b1879c1dd1613586f9bcd1bdc51aa45146a86be',\n", + " 'width': 640},\n", + " {'height': 300,\n", + " 'url': 'https://i.scdn.co/image/72d45bffa9869ebf00fcbdda25eb664c819abe64',\n", + " 'width': 300},\n", + " {'height': 64,\n", + " 'url': 'https://i.scdn.co/image/05db8fdf0740cbf6bf8d38cb85505b0bc2874ce0',\n", + " 'width': 64}],\n", + " 'name': 'Live At The Hollywood Bowl',\n", + " 'type': 'album',\n", + " 'uri': 'spotify:album:5XfJmldgWzrc1AIdbBaVZn'},\n", + " 'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/3WrFJ7ztbogyGnTHbHJFl2'},\n", + " 'href': 'https://api.spotify.com/v1/artists/3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'id': '3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'name': 'The Beatles',\n", + " 'type': 'artist',\n", + " 'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl2'}],\n", + " 'available_markets': ['AD',\n", + " 'AR',\n", + " 'AT',\n", + " 'AU',\n", + " 'BE',\n", + " 'BG',\n", + " 'BO',\n", + " 'BR',\n", + " 'CH',\n", + " 'CL',\n", + " 'CO',\n", + " 'CR',\n", + " 'CY',\n", + " 'CZ',\n", + " 'DE',\n", + " 'DK',\n", + " 'DO',\n", + " 'EC',\n", + " 'EE',\n", + " 'ES',\n", + " 'FI',\n", + " 'FR',\n", + " 'GB',\n", + " 'GR',\n", + " 'GT',\n", + " 'HK',\n", + " 'HN',\n", + " 'HU',\n", + " 'ID',\n", + " 'IE',\n", + " 'IS',\n", + " 'IT',\n", + " 'JP',\n", + " 'LI',\n", + " 'LT',\n", + " 'LU',\n", + " 'LV',\n", + " 'MC',\n", + " 'MT',\n", + " 'MY',\n", + " 'NI',\n", + " 'NL',\n", + " 'NO',\n", + " 'NZ',\n", + " 'PA',\n", + " 'PE',\n", + " 'PH',\n", + " 'PL',\n", + " 'PT',\n", + " 'PY',\n", + " 'SE',\n", + " 'SG',\n", + " 'SK',\n", + " 'SV',\n", + " 'TR',\n", + " 'TW',\n", + " 'UY'],\n", + " 'disc_number': 1,\n", + " 'duration_ms': 192053,\n", + " 'explicit': False,\n", + " 'external_ids': {'isrc': 'GBUM71603957'},\n", + " 'external_urls': {'spotify': 'https://open.spotify.com/track/150EAeMGWJRubuH8zyx7h8'},\n", + " 'href': 'https://api.spotify.com/v1/tracks/150EAeMGWJRubuH8zyx7h8',\n", + " 'id': '150EAeMGWJRubuH8zyx7h8',\n", + " 'name': \"She's A Woman - Live / Remastered\",\n", + " 'popularity': 44,\n", + " 'preview_url': 'https://p.scdn.co/mp3-preview/37806a7d82c5d2a8b76447afa25ae1e317e9ce04?cid=null',\n", + " 'track_number': 2,\n", + " 'type': 'track',\n", + " 'uri': 'spotify:track:150EAeMGWJRubuH8zyx7h8'}" + ] + }, + "execution_count": 89, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "tracks.find_one()" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### Tag tracks with artist\n", + "Again, make an easy tag for the artist of each track.\n", + "\n", + "* [Top](#top)" + ] + }, + { + "cell_type": "code", + "execution_count": 95, + "metadata": { + "collapsed": true + }, + "outputs": [], + "source": [ + "for t in tracks.find({}, ['artists']):\n", + " tracks.update_one({'_id': t['_id']}, \n", + " {'$set': {'artist_name': t['artists'][0]['name'],\n", + " 'artist_id': t['artists'][0]['id']}})" + ] + }, + { + "cell_type": "code", + "execution_count": 258, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/plain": [ + "{'George Martin', 'Radiohead', 'The Beatles'}" + ] + }, + "execution_count": 258, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "set(t['artist_name'] for t in tracks.find({}))" + ] + }, + { + "cell_type": "code", + "execution_count": 96, + "metadata": { + "collapsed": false, + "scrolled": true + }, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
album_idalbum_nameartist_nametrack_idtrack_name
05XfJmldgWzrc1AIdbBaVZnLive At The Hollywood BowlThe Beatles4edArG2VehvJdwOZfYOxtKTwist And Shout - Live / Remastered
15XfJmldgWzrc1AIdbBaVZnLive At The Hollywood BowlThe Beatles150EAeMGWJRubuH8zyx7h8She's A Woman - Live / Remastered
25XfJmldgWzrc1AIdbBaVZnLive At The Hollywood BowlThe Beatles1fVeHYkyMxrjbjRAD9uWsZDizzy Miss Lizzy - Live / Remastered
35XfJmldgWzrc1AIdbBaVZnLive At The Hollywood BowlThe Beatles0GRplBEB2FWCKutwMmS6nYTicket To Ride - Live / Remastered
45XfJmldgWzrc1AIdbBaVZnLive At The Hollywood BowlThe Beatles1eVymk74iroqhsZxm0Vy3gCan't Buy Me Love - Live / Remastered
55XfJmldgWzrc1AIdbBaVZnLive At The Hollywood BowlThe Beatles2p5a9gu6NECVSvBtGSU1vmThings We Said Today - Live / Remastered
65XfJmldgWzrc1AIdbBaVZnLive At The Hollywood BowlThe Beatles1HyLh5cctOnP186CBi8bhmRoll Over Beethoven - Live / Remastered
75XfJmldgWzrc1AIdbBaVZnLive At The Hollywood BowlThe Beatles7fZEWm7TAL2oZDyiYrrgnkBoys - Live / Remastered
85XfJmldgWzrc1AIdbBaVZnLive At The Hollywood BowlThe Beatles21nhooOxso7CCoHPE73w4LA Hard Day's Night - Live / Remastered
95XfJmldgWzrc1AIdbBaVZnLive At The Hollywood BowlThe Beatles1alcPfZWUHh01l4Fnoo5JtHelp! - Live / Remastered
105XfJmldgWzrc1AIdbBaVZnLive At The Hollywood BowlThe Beatles24gUDXSQysdnTaRpbWtYlKAll My Loving - Live / Remastered
115XfJmldgWzrc1AIdbBaVZnLive At The Hollywood BowlThe Beatles2VmFFbXSJzYxzEJSAeI0lMShe Loves You - Live / Remastered
125XfJmldgWzrc1AIdbBaVZnLive At The Hollywood BowlThe Beatles6b8lhQ86u5MddlmXulslpDLong Tall Sally - Live / Remastered
135XfJmldgWzrc1AIdbBaVZnLive At The Hollywood BowlThe Beatles1oKfZ5MTCSrv07hsHqJ0JSYou Can't Do That - Live / Bonus Track
145XfJmldgWzrc1AIdbBaVZnLive At The Hollywood BowlThe Beatles04gBqA2mubcTgFqL9DomljI Want To Hold Your Hand - Live / Bonus Track
155XfJmldgWzrc1AIdbBaVZnLive At The Hollywood BowlThe Beatles79QDgDoBbS7pCrOjIH7ByAEverybody’s Trying To Be My Baby - Live / Bonu...
165XfJmldgWzrc1AIdbBaVZnLive At The Hollywood BowlThe Beatles1yV2I5c6efVSqSiuv9H2ADBaby's In Black - Live / Bonus Track
175ju5Ouzan3QwXqQt1Tihbh1 (Remastered)The Beatles5JT7CoUSGNk7mMNkHMQjqrLove Me Do - Mono / Remastered 2015
185ju5Ouzan3QwXqQt1Tihbh1 (Remastered)The Beatles2Q2Gu7Bv8iLenuygtBgDUwFrom Me To You - Mono / Remastered 2015
195ju5Ouzan3QwXqQt1Tihbh1 (Remastered)The Beatles2Fk411Ix3qnMG8t8Qa74ZXShe Loves You - Mono / Remastered 2015
205ju5Ouzan3QwXqQt1Tihbh1 (Remastered)The Beatles4DRBaZ760gyk7LWnaJFqsJI Want To Hold Your Hand - Remastered 2015
215ju5Ouzan3QwXqQt1Tihbh1 (Remastered)The Beatles7pQAq14Z73YUFMtxCyt0bGCan't Buy Me Love - Remastered 2015
225ju5Ouzan3QwXqQt1Tihbh1 (Remastered)The Beatles0mNQUZEATk2uItMUtiLWK5A Hard Day's Night - Remastered 2015
235ju5Ouzan3QwXqQt1Tihbh1 (Remastered)The Beatles0Gm34HBxrXlaAf1jdJMjx2I Feel Fine - Remastered 2015
245ju5Ouzan3QwXqQt1Tihbh1 (Remastered)The Beatles3nhJDVdUrm6DnDW4iBfpKzEight Days A Week - Remastered 2015
255ju5Ouzan3QwXqQt1Tihbh1 (Remastered)The Beatles6pkjW5srxjzRSKKMrl7et8Ticket To Ride - Remastered 2015
265ju5Ouzan3QwXqQt1Tihbh1 (Remastered)The Beatles1dfuJYDSIc41cw5RPsaCF1Help! - Remastered 2015
275ju5Ouzan3QwXqQt1Tihbh1 (Remastered)The Beatles63uskN0xLezVg4281wzeQnYesterday - Remastered 2015
285ju5Ouzan3QwXqQt1Tihbh1 (Remastered)The Beatles0vXGSlE4ft3n5JHZMHHSIjDay Tripper - Remastered 2015
295ju5Ouzan3QwXqQt1Tihbh1 (Remastered)The Beatles0Lckblu9CJUXOeMV0XY3b9We Can Work It Out - Remastered 2015
..................
3537dxKtc08dYeRVHt3p9CZJnOK ComputerRadiohead53aFGAl0Vebwp2bo8wtdWRFitter Happier
3547dxKtc08dYeRVHt3p9CZJnOK ComputerRadiohead6PBHfI3G8MlQ8qdItoVoxLElectioneering
3557dxKtc08dYeRVHt3p9CZJnOK ComputerRadiohead0R332cdlS9LyE0Ge2PSlVCClimbing Up the Walls
3567dxKtc08dYeRVHt3p9CZJnOK ComputerRadiohead1bSpwPhAxZwlR2enJJsv7UNo Surprises
3577dxKtc08dYeRVHt3p9CZJnOK ComputerRadiohead6n7GUf2h8D2Ad2wUy5s7nELucky
3587dxKtc08dYeRVHt3p9CZJnOK ComputerRadiohead75YUnz58ajMo2VIIuUFvOVThe Tourist
359500FEaUzn8lN9zWFyZG5C2The BendsRadiohead05evePUsIT1cmIURp1hgu6Planet Telex
360500FEaUzn8lN9zWFyZG5C2The BendsRadiohead3aDUSpF3LexOr1lFKvPV2hThe Bends
361500FEaUzn8lN9zWFyZG5C2The BendsRadiohead5jafMI8FLibnjkYTZ33m0cHigh And Dry
362500FEaUzn8lN9zWFyZG5C2The BendsRadiohead045sp2JToyTaaKyXkGejPyFake Plastic Trees
363500FEaUzn8lN9zWFyZG5C2The BendsRadiohead0OT4Rhd9cw1yajN9ZxL6qLBones
364500FEaUzn8lN9zWFyZG5C2The BendsRadiohead4QbQ55kHcRNho6XLaPctT1(Nice Dream)
365500FEaUzn8lN9zWFyZG5C2The BendsRadiohead4SE81CrzH0qPA8KHqM9SyzJust
366500FEaUzn8lN9zWFyZG5C2The BendsRadiohead4dPKQxaraW6CG1rTBzV6DWMy Iron Lung
367500FEaUzn8lN9zWFyZG5C2The BendsRadiohead7wB2VenWR6rchtLwawreIgBullet Proof ... I Wish I Was
368500FEaUzn8lN9zWFyZG5C2The BendsRadiohead6JzzI3YxHCcjZ7MCQS2YS1Black Star
369500FEaUzn8lN9zWFyZG5C2The BendsRadiohead4HtPAkZnSyGtNvBnfDc2nwSulk
370500FEaUzn8lN9zWFyZG5C2The BendsRadiohead5gz38AxRkD6Ywxd4fr2pLjStreet Spirit (Fade Out)
3716400dnyeDyD2mIFHfkwHXNPablo HoneyRadiohead1MyqLTRhgyWPw7v107BEuIYou
3726400dnyeDyD2mIFHfkwHXNPablo HoneyRadiohead6b2oQwSGFkzsMtQruIWm2pCreep
3736400dnyeDyD2mIFHfkwHXNPablo HoneyRadiohead71wIOoaoVMUwskK5yCXZL4How Do You?
3746400dnyeDyD2mIFHfkwHXNPablo HoneyRadiohead2zYmvi3w2T8a9Ckrv21bvWStop Whispering
3756400dnyeDyD2mIFHfkwHXNPablo HoneyRadiohead3ovbSnT5NNhl1gzMcw1NRZThinking About You
3766400dnyeDyD2mIFHfkwHXNPablo HoneyRadiohead4NUc1M0CS7b6zvWoyvibjuAnyone Can Play Guitar
3776400dnyeDyD2mIFHfkwHXNPablo HoneyRadiohead4nklmaiY4gfQI3SB1sLGsdRipcord
3786400dnyeDyD2mIFHfkwHXNPablo HoneyRadiohead11qDTSr3Dj4TkPnBcIOqEJVegetable
3796400dnyeDyD2mIFHfkwHXNPablo HoneyRadiohead4D6ZExVvYLZxhcAvifX5pxProve Yourself
3806400dnyeDyD2mIFHfkwHXNPablo HoneyRadiohead48IEDejXX5LH8TAC3VIGpcI Can't
3816400dnyeDyD2mIFHfkwHXNPablo HoneyRadiohead2B5P22cfUadACK7jLQegU6Lurgee
3826400dnyeDyD2mIFHfkwHXNPablo HoneyRadiohead6qttbImnJ5wuA8AtDKEy18Blow Out
\n", + "

383 rows × 5 columns

\n", + "
" + ], + "text/plain": [ + " album_id album_name artist_name \\\n", + "0 5XfJmldgWzrc1AIdbBaVZn Live At The Hollywood Bowl The Beatles \n", + "1 5XfJmldgWzrc1AIdbBaVZn Live At The Hollywood Bowl The Beatles \n", + "2 5XfJmldgWzrc1AIdbBaVZn Live At The Hollywood Bowl The Beatles \n", + "3 5XfJmldgWzrc1AIdbBaVZn Live At The Hollywood Bowl The Beatles \n", + "4 5XfJmldgWzrc1AIdbBaVZn Live At The Hollywood Bowl The Beatles \n", + "5 5XfJmldgWzrc1AIdbBaVZn Live At The Hollywood Bowl The Beatles \n", + "6 5XfJmldgWzrc1AIdbBaVZn Live At The Hollywood Bowl The Beatles \n", + "7 5XfJmldgWzrc1AIdbBaVZn Live At The Hollywood Bowl The Beatles \n", + "8 5XfJmldgWzrc1AIdbBaVZn Live At The Hollywood Bowl The Beatles \n", + "9 5XfJmldgWzrc1AIdbBaVZn Live At The Hollywood Bowl The Beatles \n", + "10 5XfJmldgWzrc1AIdbBaVZn Live At The Hollywood Bowl The Beatles \n", + "11 5XfJmldgWzrc1AIdbBaVZn Live At The Hollywood Bowl The Beatles \n", + "12 5XfJmldgWzrc1AIdbBaVZn Live At The Hollywood Bowl The Beatles \n", + "13 5XfJmldgWzrc1AIdbBaVZn Live At The Hollywood Bowl The Beatles \n", + "14 5XfJmldgWzrc1AIdbBaVZn Live At The Hollywood Bowl The Beatles \n", + "15 5XfJmldgWzrc1AIdbBaVZn Live At The Hollywood Bowl The Beatles \n", + "16 5XfJmldgWzrc1AIdbBaVZn Live At The Hollywood Bowl The Beatles \n", + "17 5ju5Ouzan3QwXqQt1Tihbh 1 (Remastered) The Beatles \n", + "18 5ju5Ouzan3QwXqQt1Tihbh 1 (Remastered) The Beatles \n", + "19 5ju5Ouzan3QwXqQt1Tihbh 1 (Remastered) The Beatles \n", + "20 5ju5Ouzan3QwXqQt1Tihbh 1 (Remastered) The Beatles \n", + "21 5ju5Ouzan3QwXqQt1Tihbh 1 (Remastered) The Beatles \n", + "22 5ju5Ouzan3QwXqQt1Tihbh 1 (Remastered) The Beatles \n", + "23 5ju5Ouzan3QwXqQt1Tihbh 1 (Remastered) The Beatles \n", + "24 5ju5Ouzan3QwXqQt1Tihbh 1 (Remastered) The Beatles \n", + "25 5ju5Ouzan3QwXqQt1Tihbh 1 (Remastered) The Beatles \n", + "26 5ju5Ouzan3QwXqQt1Tihbh 1 (Remastered) The Beatles \n", + "27 5ju5Ouzan3QwXqQt1Tihbh 1 (Remastered) The Beatles \n", + "28 5ju5Ouzan3QwXqQt1Tihbh 1 (Remastered) The Beatles \n", + "29 5ju5Ouzan3QwXqQt1Tihbh 1 (Remastered) The Beatles \n", + ".. ... ... ... \n", + "353 7dxKtc08dYeRVHt3p9CZJn OK Computer Radiohead \n", + "354 7dxKtc08dYeRVHt3p9CZJn OK Computer Radiohead \n", + "355 7dxKtc08dYeRVHt3p9CZJn OK Computer Radiohead \n", + "356 7dxKtc08dYeRVHt3p9CZJn OK Computer Radiohead \n", + "357 7dxKtc08dYeRVHt3p9CZJn OK Computer Radiohead \n", + "358 7dxKtc08dYeRVHt3p9CZJn OK Computer Radiohead \n", + "359 500FEaUzn8lN9zWFyZG5C2 The Bends Radiohead \n", + "360 500FEaUzn8lN9zWFyZG5C2 The Bends Radiohead \n", + "361 500FEaUzn8lN9zWFyZG5C2 The Bends Radiohead \n", + "362 500FEaUzn8lN9zWFyZG5C2 The Bends Radiohead \n", + "363 500FEaUzn8lN9zWFyZG5C2 The Bends Radiohead \n", + "364 500FEaUzn8lN9zWFyZG5C2 The Bends Radiohead \n", + "365 500FEaUzn8lN9zWFyZG5C2 The Bends Radiohead \n", + "366 500FEaUzn8lN9zWFyZG5C2 The Bends Radiohead \n", + "367 500FEaUzn8lN9zWFyZG5C2 The Bends Radiohead \n", + "368 500FEaUzn8lN9zWFyZG5C2 The Bends Radiohead \n", + "369 500FEaUzn8lN9zWFyZG5C2 The Bends Radiohead \n", + "370 500FEaUzn8lN9zWFyZG5C2 The Bends Radiohead \n", + "371 6400dnyeDyD2mIFHfkwHXN Pablo Honey Radiohead \n", + "372 6400dnyeDyD2mIFHfkwHXN Pablo Honey Radiohead \n", + "373 6400dnyeDyD2mIFHfkwHXN Pablo Honey Radiohead \n", + "374 6400dnyeDyD2mIFHfkwHXN Pablo Honey Radiohead \n", + "375 6400dnyeDyD2mIFHfkwHXN Pablo Honey Radiohead \n", + "376 6400dnyeDyD2mIFHfkwHXN Pablo Honey Radiohead \n", + "377 6400dnyeDyD2mIFHfkwHXN Pablo Honey Radiohead \n", + "378 6400dnyeDyD2mIFHfkwHXN Pablo Honey Radiohead \n", + "379 6400dnyeDyD2mIFHfkwHXN Pablo Honey Radiohead \n", + "380 6400dnyeDyD2mIFHfkwHXN Pablo Honey Radiohead \n", + "381 6400dnyeDyD2mIFHfkwHXN Pablo Honey Radiohead \n", + "382 6400dnyeDyD2mIFHfkwHXN Pablo Honey Radiohead \n", + "\n", + " track_id track_name \n", + "0 4edArG2VehvJdwOZfYOxtK Twist And Shout - Live / Remastered \n", + "1 150EAeMGWJRubuH8zyx7h8 She's A Woman - Live / Remastered \n", + "2 1fVeHYkyMxrjbjRAD9uWsZ Dizzy Miss Lizzy - Live / Remastered \n", + "3 0GRplBEB2FWCKutwMmS6nY Ticket To Ride - Live / Remastered \n", + "4 1eVymk74iroqhsZxm0Vy3g Can't Buy Me Love - Live / Remastered \n", + "5 2p5a9gu6NECVSvBtGSU1vm Things We Said Today - Live / Remastered \n", + "6 1HyLh5cctOnP186CBi8bhm Roll Over Beethoven - Live / Remastered \n", + "7 7fZEWm7TAL2oZDyiYrrgnk Boys - Live / Remastered \n", + "8 21nhooOxso7CCoHPE73w4L A Hard Day's Night - Live / Remastered \n", + "9 1alcPfZWUHh01l4Fnoo5Jt Help! - Live / Remastered \n", + "10 24gUDXSQysdnTaRpbWtYlK All My Loving - Live / Remastered \n", + "11 2VmFFbXSJzYxzEJSAeI0lM She Loves You - Live / Remastered \n", + "12 6b8lhQ86u5MddlmXulslpD Long Tall Sally - Live / Remastered \n", + "13 1oKfZ5MTCSrv07hsHqJ0JS You Can't Do That - Live / Bonus Track \n", + "14 04gBqA2mubcTgFqL9Domlj I Want To Hold Your Hand - Live / Bonus Track \n", + "15 79QDgDoBbS7pCrOjIH7ByA Everybody’s Trying To Be My Baby - Live / Bonu... \n", + "16 1yV2I5c6efVSqSiuv9H2AD Baby's In Black - Live / Bonus Track \n", + "17 5JT7CoUSGNk7mMNkHMQjqr Love Me Do - Mono / Remastered 2015 \n", + "18 2Q2Gu7Bv8iLenuygtBgDUw From Me To You - Mono / Remastered 2015 \n", + "19 2Fk411Ix3qnMG8t8Qa74ZX She Loves You - Mono / Remastered 2015 \n", + "20 4DRBaZ760gyk7LWnaJFqsJ I Want To Hold Your Hand - Remastered 2015 \n", + "21 7pQAq14Z73YUFMtxCyt0bG Can't Buy Me Love - Remastered 2015 \n", + "22 0mNQUZEATk2uItMUtiLWK5 A Hard Day's Night - Remastered 2015 \n", + "23 0Gm34HBxrXlaAf1jdJMjx2 I Feel Fine - Remastered 2015 \n", + "24 3nhJDVdUrm6DnDW4iBfpKz Eight Days A Week - Remastered 2015 \n", + "25 6pkjW5srxjzRSKKMrl7et8 Ticket To Ride - Remastered 2015 \n", + "26 1dfuJYDSIc41cw5RPsaCF1 Help! - Remastered 2015 \n", + "27 63uskN0xLezVg4281wzeQn Yesterday - Remastered 2015 \n", + "28 0vXGSlE4ft3n5JHZMHHSIj Day Tripper - Remastered 2015 \n", + "29 0Lckblu9CJUXOeMV0XY3b9 We Can Work It Out - Remastered 2015 \n", + ".. ... ... \n", + "353 53aFGAl0Vebwp2bo8wtdWR Fitter Happier \n", + "354 6PBHfI3G8MlQ8qdItoVoxL Electioneering \n", + "355 0R332cdlS9LyE0Ge2PSlVC Climbing Up the Walls \n", + "356 1bSpwPhAxZwlR2enJJsv7U No Surprises \n", + "357 6n7GUf2h8D2Ad2wUy5s7nE Lucky \n", + "358 75YUnz58ajMo2VIIuUFvOV The Tourist \n", + "359 05evePUsIT1cmIURp1hgu6 Planet Telex \n", + "360 3aDUSpF3LexOr1lFKvPV2h The Bends \n", + "361 5jafMI8FLibnjkYTZ33m0c High And Dry \n", + "362 045sp2JToyTaaKyXkGejPy Fake Plastic Trees \n", + "363 0OT4Rhd9cw1yajN9ZxL6qL Bones \n", + "364 4QbQ55kHcRNho6XLaPctT1 (Nice Dream) \n", + "365 4SE81CrzH0qPA8KHqM9Syz Just \n", + "366 4dPKQxaraW6CG1rTBzV6DW My Iron Lung \n", + "367 7wB2VenWR6rchtLwawreIg Bullet Proof ... I Wish I Was \n", + "368 6JzzI3YxHCcjZ7MCQS2YS1 Black Star \n", + "369 4HtPAkZnSyGtNvBnfDc2nw Sulk \n", + "370 5gz38AxRkD6Ywxd4fr2pLj Street Spirit (Fade Out) \n", + "371 1MyqLTRhgyWPw7v107BEuI You \n", + "372 6b2oQwSGFkzsMtQruIWm2p Creep \n", + "373 71wIOoaoVMUwskK5yCXZL4 How Do You? \n", + "374 2zYmvi3w2T8a9Ckrv21bvW Stop Whispering \n", + "375 3ovbSnT5NNhl1gzMcw1NRZ Thinking About You \n", + "376 4NUc1M0CS7b6zvWoyvibju Anyone Can Play Guitar \n", + "377 4nklmaiY4gfQI3SB1sLGsd Ripcord \n", + "378 11qDTSr3Dj4TkPnBcIOqEJ Vegetable \n", + "379 4D6ZExVvYLZxhcAvifX5px Prove Yourself \n", + "380 48IEDejXX5LH8TAC3VIGpc I Can't \n", + "381 2B5P22cfUadACK7jLQegU6 Lurgee \n", + "382 6qttbImnJ5wuA8AtDKEy18 Blow Out \n", + "\n", + "[383 rows x 5 columns]" + ] + }, + "execution_count": 96, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "pd.DataFrame([{'album_id': a['id'], \n", + " 'album_name': a['name'],\n", + " 'track_id': t['id'],\n", + " 'track_name': t['name'],\n", + " 'artist_name': t['artist_name']}\n", + " for a in albums.find()\n", + " for tid in a['tracks']['items']\n", + " for t in tracks.find({'_id': tid['id']})])" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### Get full track data\n", + "The full audio analysis requires an API token to get the data. We use the client token to retreive an authorisation token, which will last for about ten minutes.\n", + "\n", + "* [Top](#top)" + ] + }, + { + "cell_type": "code", + "execution_count": 36, + "metadata": { + "collapsed": true + }, + "outputs": [], + "source": [ + "def get_spotify_auth_token():\n", + " auth_url = 'https://accounts.spotify.com/api/token'\n", + " auth_data = urllib.parse.urlencode({'grant_type': 'client_credentials'}).encode('utf-8')\n", + " auth_id = base64.standard_b64encode((config['spotify']['client_id'] + \\\n", + " ':' + config['spotify']['client_secret']).encode('utf-8')).decode('utf-8)')\n", + " auth_headers = {'Authorization': 'Basic ' + auth_id}\n", + " auth_request = urllib.request.Request(auth_url, data=auth_data, headers=auth_headers)\n", + " with urllib.request.urlopen(auth_request) as f:\n", + " response = json.loads(f.read().decode('utf-8'))\n", + " return response['token_type'], response['access_token']" + ] + }, + { + "cell_type": "code", + "execution_count": 37, + "metadata": { + "collapsed": true + }, + "outputs": [], + "source": [ + "def get_audio_features(track_ids, auth_type, auth_token):\n", + " url = 'https://api.spotify.com/v1/audio-features?ids={ids}'.format(ids=','.join(track_ids))\n", + " headers = {'Authorization': auth_type + ' ' + auth_token}\n", + " request = urllib.request.Request(url, headers=headers, method='GET')\n", + " with urllib.request.urlopen(request) as f:\n", + " response = json.loads(f.read().decode('utf-8'))\n", + " for track in response['audio_features']:\n", + " tracks.update_one({'_id': track['id']}, {'$set': track})" + ] + }, + { + "cell_type": "code", + "execution_count": 97, + "metadata": { + "collapsed": false + }, + "outputs": [], + "source": [ + "a_type, a_token = get_spotify_auth_token()\n", + "for a in albums.find({}, []):\n", + " track_ids = [t['_id'] for t in tracks.find({'album.id': a['_id']}, [])]\n", + " get_audio_features(track_ids, a_type, a_token)" + ] + }, + { + "cell_type": "code", + "execution_count": 98, + "metadata": { + "collapsed": false, + "scrolled": true + }, + "outputs": [ + { + "data": { + "text/plain": [ + "{'_id': '150EAeMGWJRubuH8zyx7h8',\n", + " 'acousticness': 0.00675,\n", + " 'album': {'album_type': 'album',\n", + " 'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/3WrFJ7ztbogyGnTHbHJFl2'},\n", + " 'href': 'https://api.spotify.com/v1/artists/3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'id': '3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'name': 'The Beatles',\n", + " 'type': 'artist',\n", + " 'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl2'}],\n", + " 'available_markets': ['AD',\n", + " 'AR',\n", + " 'AT',\n", + " 'AU',\n", + " 'BE',\n", + " 'BG',\n", + " 'BO',\n", + " 'BR',\n", + " 'CH',\n", + " 'CL',\n", + " 'CO',\n", + " 'CR',\n", + " 'CY',\n", + " 'CZ',\n", + " 'DE',\n", + " 'DK',\n", + " 'DO',\n", + " 'EC',\n", + " 'EE',\n", + " 'ES',\n", + " 'FI',\n", + " 'FR',\n", + " 'GB',\n", + " 'GR',\n", + " 'GT',\n", + " 'HK',\n", + " 'HN',\n", + " 'HU',\n", + " 'ID',\n", + " 'IE',\n", + " 'IS',\n", + " 'IT',\n", + " 'JP',\n", + " 'LI',\n", + " 'LT',\n", + " 'LU',\n", + " 'LV',\n", + " 'MC',\n", + " 'MT',\n", + " 'MY',\n", + " 'NI',\n", + " 'NL',\n", + " 'NO',\n", + " 'NZ',\n", + " 'PA',\n", + " 'PE',\n", + " 'PH',\n", + " 'PL',\n", + " 'PT',\n", + " 'PY',\n", + " 'SE',\n", + " 'SG',\n", + " 'SK',\n", + " 'SV',\n", + " 'TR',\n", + " 'TW',\n", + " 'UY'],\n", + " 'external_urls': {'spotify': 'https://open.spotify.com/album/5XfJmldgWzrc1AIdbBaVZn'},\n", + " 'href': 'https://api.spotify.com/v1/albums/5XfJmldgWzrc1AIdbBaVZn',\n", + " 'id': '5XfJmldgWzrc1AIdbBaVZn',\n", + " 'images': [{'height': 640,\n", + " 'url': 'https://i.scdn.co/image/1b1879c1dd1613586f9bcd1bdc51aa45146a86be',\n", + " 'width': 640},\n", + " {'height': 300,\n", + " 'url': 'https://i.scdn.co/image/72d45bffa9869ebf00fcbdda25eb664c819abe64',\n", + " 'width': 300},\n", + " {'height': 64,\n", + " 'url': 'https://i.scdn.co/image/05db8fdf0740cbf6bf8d38cb85505b0bc2874ce0',\n", + " 'width': 64}],\n", + " 'name': 'Live At The Hollywood Bowl',\n", + " 'type': 'album',\n", + " 'uri': 'spotify:album:5XfJmldgWzrc1AIdbBaVZn'},\n", + " 'analysis_url': 'https://api.spotify.com/v1/audio-analysis/150EAeMGWJRubuH8zyx7h8',\n", + " 'artist_id': '3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'artist_name': 'The Beatles',\n", + " 'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/3WrFJ7ztbogyGnTHbHJFl2'},\n", + " 'href': 'https://api.spotify.com/v1/artists/3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'id': '3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'name': 'The Beatles',\n", + " 'type': 'artist',\n", + " 'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl2'}],\n", + " 'available_markets': ['AD',\n", + " 'AR',\n", + " 'AT',\n", + " 'AU',\n", + " 'BE',\n", + " 'BG',\n", + " 'BO',\n", + " 'BR',\n", + " 'CH',\n", + " 'CL',\n", + " 'CO',\n", + " 'CR',\n", + " 'CY',\n", + " 'CZ',\n", + " 'DE',\n", + " 'DK',\n", + " 'DO',\n", + " 'EC',\n", + " 'EE',\n", + " 'ES',\n", + " 'FI',\n", + " 'FR',\n", + " 'GB',\n", + " 'GR',\n", + " 'GT',\n", + " 'HK',\n", + " 'HN',\n", + " 'HU',\n", + " 'ID',\n", + " 'IE',\n", + " 'IS',\n", + " 'IT',\n", + " 'JP',\n", + " 'LI',\n", + " 'LT',\n", + " 'LU',\n", + " 'LV',\n", + " 'MC',\n", + " 'MT',\n", + " 'MY',\n", + " 'NI',\n", + " 'NL',\n", + " 'NO',\n", + " 'NZ',\n", + " 'PA',\n", + " 'PE',\n", + " 'PH',\n", + " 'PL',\n", + " 'PT',\n", + " 'PY',\n", + " 'SE',\n", + " 'SG',\n", + " 'SK',\n", + " 'SV',\n", + " 'TR',\n", + " 'TW',\n", + " 'UY'],\n", + " 'danceability': 0.188,\n", + " 'disc_number': 1,\n", + " 'duration_ms': 192053,\n", + " 'energy': 0.885,\n", + " 'explicit': False,\n", + " 'external_ids': {'isrc': 'GBUM71603957'},\n", + " 'external_urls': {'spotify': 'https://open.spotify.com/track/150EAeMGWJRubuH8zyx7h8'},\n", + " 'href': 'https://api.spotify.com/v1/tracks/150EAeMGWJRubuH8zyx7h8',\n", + " 'id': '150EAeMGWJRubuH8zyx7h8',\n", + " 'instrumentalness': 2.42e-05,\n", + " 'key': 9,\n", + " 'liveness': 0.85,\n", + " 'loudness': -8.189,\n", + " 'mode': 1,\n", + " 'name': \"She's A Woman - Live / Remastered\",\n", + " 'popularity': 44,\n", + " 'preview_url': 'https://p.scdn.co/mp3-preview/37806a7d82c5d2a8b76447afa25ae1e317e9ce04?cid=null',\n", + " 'speechiness': 0.0662,\n", + " 'tempo': 175.86,\n", + " 'time_signature': 4,\n", + " 'track_href': 'https://api.spotify.com/v1/tracks/150EAeMGWJRubuH8zyx7h8',\n", + " 'track_number': 2,\n", + " 'type': 'audio_features',\n", + " 'uri': 'spotify:track:150EAeMGWJRubuH8zyx7h8',\n", + " 'valence': 0.562}" + ] + }, + "execution_count": 98, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "tracks.find_one()" + ] + }, + { + "cell_type": "code", + "execution_count": 99, + "metadata": { + "collapsed": false, + "scrolled": true + }, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
0123456789...220221222223224225226227228229
_id150EAeMGWJRubuH8zyx7h824gUDXSQysdnTaRpbWtYlK6b8lhQ86u5MddlmXulslpD79QDgDoBbS7pCrOjIH7ByA5JT7CoUSGNk7mMNkHMQjqr2Q2Gu7Bv8iLenuygtBgDUw63uskN0xLezVg4281wzeQn6Y6UBWhifUnkJIO2mdy0S30i4BFZcByXtcTFOafH5ebS5GDVGBs8qW1Xl3Qi0vsxue...16aAwvjzWhM4Cgg5RYz2fA63nTBScSLXWwyeizXi9Rmi1hYuXMeJUOfoJFq0wBhzWV43feVCF6QfqIt9LnLs9BAH3NwEPV9MDr1z3KcHiAuz9d2Iccm3cKBQHWt5yk0yX9nh01n20rdBC5czKAhxmGREkr5gnrZoSS7nbDYtHp32RFiI5FBxWhG0nbBAF6lWgJFklM4Z1fbYp0HuxLBje4MOZcSD
acousticness0.006750.0270.03360.05690.4040.5070.8710.3020.1790.659...0.4250.270.6350.6070.7670.3340.3890.7780.6080.641
album{'artists': [{'uri': 'spotify:artist:3WrFJ7ztb...{'artists': [{'uri': 'spotify:artist:3WrFJ7ztb...{'artists': [{'uri': 'spotify:artist:3WrFJ7ztb...{'artists': [{'uri': 'spotify:artist:3WrFJ7ztb...{'artists': [{'uri': 'spotify:artist:3WrFJ7ztb...{'artists': [{'uri': 'spotify:artist:3WrFJ7ztb...{'artists': [{'uri': 'spotify:artist:3WrFJ7ztb...{'artists': [{'uri': 'spotify:artist:3WrFJ7ztb...{'artists': [{'uri': 'spotify:artist:3WrFJ7ztb...{'artists': [{'uri': 'spotify:artist:3WrFJ7ztb......{'artists': [{'uri': 'spotify:artist:3WrFJ7ztb...{'artists': [{'uri': 'spotify:artist:3WrFJ7ztb...{'artists': [{'uri': 'spotify:artist:3WrFJ7ztb...{'artists': [{'uri': 'spotify:artist:3WrFJ7ztb...{'artists': [{'uri': 'spotify:artist:3WrFJ7ztb...{'artists': [{'uri': 'spotify:artist:3WrFJ7ztb...{'artists': [{'uri': 'spotify:artist:3WrFJ7ztb...{'artists': [{'uri': 'spotify:artist:3WrFJ7ztb...{'artists': [{'uri': 'spotify:artist:3WrFJ7ztb...{'artists': [{'uri': 'spotify:artist:3WrFJ7ztb...
analysis_urlhttps://api.spotify.com/v1/audio-analysis/150E...https://api.spotify.com/v1/audio-analysis/24gU...https://api.spotify.com/v1/audio-analysis/6b8l...https://api.spotify.com/v1/audio-analysis/79QD...https://api.spotify.com/v1/audio-analysis/5JT7...https://api.spotify.com/v1/audio-analysis/2Q2G...https://api.spotify.com/v1/audio-analysis/63us...https://api.spotify.com/v1/audio-analysis/6Y6U...https://api.spotify.com/v1/audio-analysis/0i4B...https://api.spotify.com/v1/audio-analysis/5GDV......https://api.spotify.com/v1/audio-analysis/16aA...https://api.spotify.com/v1/audio-analysis/63nT...https://api.spotify.com/v1/audio-analysis/1hYu...https://api.spotify.com/v1/audio-analysis/43fe...https://api.spotify.com/v1/audio-analysis/3NwE...https://api.spotify.com/v1/audio-analysis/2Icc...https://api.spotify.com/v1/audio-analysis/01n2...https://api.spotify.com/v1/audio-analysis/5gnr...https://api.spotify.com/v1/audio-analysis/5FBx...https://api.spotify.com/v1/audio-analysis/4Z1f...
artist_id3WrFJ7ztbogyGnTHbHJFl23WrFJ7ztbogyGnTHbHJFl23WrFJ7ztbogyGnTHbHJFl23WrFJ7ztbogyGnTHbHJFl23WrFJ7ztbogyGnTHbHJFl23WrFJ7ztbogyGnTHbHJFl23WrFJ7ztbogyGnTHbHJFl23WrFJ7ztbogyGnTHbHJFl23WrFJ7ztbogyGnTHbHJFl23WrFJ7ztbogyGnTHbHJFl2...3WrFJ7ztbogyGnTHbHJFl23WrFJ7ztbogyGnTHbHJFl23WrFJ7ztbogyGnTHbHJFl23WrFJ7ztbogyGnTHbHJFl23WrFJ7ztbogyGnTHbHJFl23WrFJ7ztbogyGnTHbHJFl23WrFJ7ztbogyGnTHbHJFl23WrFJ7ztbogyGnTHbHJFl23WrFJ7ztbogyGnTHbHJFl23WrFJ7ztbogyGnTHbHJFl2
artist_nameThe BeatlesThe BeatlesThe BeatlesThe BeatlesThe BeatlesThe BeatlesThe BeatlesThe BeatlesThe BeatlesThe Beatles...The BeatlesThe BeatlesThe BeatlesThe BeatlesThe BeatlesThe BeatlesThe BeatlesThe BeatlesThe BeatlesThe Beatles
artists[{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl...[{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl...[{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl...[{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl...[{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl...[{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl...[{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl...[{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl...[{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl...[{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl......[{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl...[{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl...[{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl...[{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl...[{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl...[{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl...[{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl...[{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl...[{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl...[{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl...
available_markets[AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C...[AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C...[AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C...[AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C...[AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C...[AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C...[AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C...[AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C...[AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C...[AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C......[AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C...[AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C...[AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C...[AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C...[AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C...[AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C...[AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C...[AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C...[AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C...[AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C...
danceability0.1880.210.3710.1950.5240.5810.4010.4490.2910.54...0.5450.4910.6080.4020.6050.5270.6350.6080.6730.482
disc_number1111111111...1111111111
duration_ms19205313525312465314142714017311616012532018141314558750467...169507173947177133146440146533120853124360160520117013155227
energy0.8850.6460.9030.8890.880.8210.1890.3750.6380.489...0.8530.8010.5650.860.3940.480.6560.4940.3490.849
explicitFalseFalseFalseFalseFalseFalseFalseFalseFalseFalse...FalseFalseFalseFalseFalseFalseFalseFalseFalseFalse
external_ids{'isrc': 'GBUM71603957'}{'isrc': 'GBUM71603949'}{'isrc': 'GBUM71603954'}{'isrc': 'GBUM71603963'}{'isrc': 'GBUM71505907'}{'isrc': 'GBUM71505896'}{'isrc': 'GBUM71505917'}{'isrc': 'GBUM71505911'}{'isrc': 'GBAYE0601711'}{'isrc': 'GBAYE0601712'}...{'isrc': 'GBAYE0601437'}{'isrc': 'GBAYE0601410'}{'isrc': 'GBAYE0601412'}{'isrc': 'GBAYE0601414'}{'isrc': 'GBAYE0601415'}{'isrc': 'GBAYE0601416'}{'isrc': 'GBAYE0601418'}{'isrc': 'GBAYE0601419'}{'isrc': 'GBAYE0601420'}{'isrc': 'GBAYE0601423'}
external_urls{'spotify': 'https://open.spotify.com/track/15...{'spotify': 'https://open.spotify.com/track/24...{'spotify': 'https://open.spotify.com/track/6b...{'spotify': 'https://open.spotify.com/track/79...{'spotify': 'https://open.spotify.com/track/5J...{'spotify': 'https://open.spotify.com/track/2Q...{'spotify': 'https://open.spotify.com/track/63...{'spotify': 'https://open.spotify.com/track/6Y...{'spotify': 'https://open.spotify.com/track/0i...{'spotify': 'https://open.spotify.com/track/5G......{'spotify': 'https://open.spotify.com/track/16...{'spotify': 'https://open.spotify.com/track/63...{'spotify': 'https://open.spotify.com/track/1h...{'spotify': 'https://open.spotify.com/track/43...{'spotify': 'https://open.spotify.com/track/3N...{'spotify': 'https://open.spotify.com/track/2I...{'spotify': 'https://open.spotify.com/track/01...{'spotify': 'https://open.spotify.com/track/5g...{'spotify': 'https://open.spotify.com/track/5F...{'spotify': 'https://open.spotify.com/track/4Z...
hrefhttps://api.spotify.com/v1/tracks/150EAeMGWJRu...https://api.spotify.com/v1/tracks/24gUDXSQysdn...https://api.spotify.com/v1/tracks/6b8lhQ86u5Md...https://api.spotify.com/v1/tracks/79QDgDoBbS7p...https://api.spotify.com/v1/tracks/5JT7CoUSGNk7...https://api.spotify.com/v1/tracks/2Q2Gu7Bv8iLe...https://api.spotify.com/v1/tracks/63uskN0xLezV...https://api.spotify.com/v1/tracks/6Y6UBWhifUnk...https://api.spotify.com/v1/tracks/0i4BFZcByXtc...https://api.spotify.com/v1/tracks/5GDVGBs8qW1X......https://api.spotify.com/v1/tracks/16aAwvjzWhM4...https://api.spotify.com/v1/tracks/63nTBScSLXWw...https://api.spotify.com/v1/tracks/1hYuXMeJUOfo...https://api.spotify.com/v1/tracks/43feVCF6QfqI...https://api.spotify.com/v1/tracks/3NwEPV9MDr1z...https://api.spotify.com/v1/tracks/2Iccm3cKBQHW...https://api.spotify.com/v1/tracks/01n20rdBC5cz...https://api.spotify.com/v1/tracks/5gnrZoSS7nbD...https://api.spotify.com/v1/tracks/5FBxWhG0nbBA...https://api.spotify.com/v1/tracks/4Z1fbYp0HuxL...
id150EAeMGWJRubuH8zyx7h824gUDXSQysdnTaRpbWtYlK6b8lhQ86u5MddlmXulslpD79QDgDoBbS7pCrOjIH7ByA5JT7CoUSGNk7mMNkHMQjqr2Q2Gu7Bv8iLenuygtBgDUw63uskN0xLezVg4281wzeQn6Y6UBWhifUnkJIO2mdy0S30i4BFZcByXtcTFOafH5ebS5GDVGBs8qW1Xl3Qi0vsxue...16aAwvjzWhM4Cgg5RYz2fA63nTBScSLXWwyeizXi9Rmi1hYuXMeJUOfoJFq0wBhzWV43feVCF6QfqIt9LnLs9BAH3NwEPV9MDr1z3KcHiAuz9d2Iccm3cKBQHWt5yk0yX9nh01n20rdBC5czKAhxmGREkr5gnrZoSS7nbDYtHp32RFiI5FBxWhG0nbBAF6lWgJFklM4Z1fbYp0HuxLBje4MOZcSD
instrumentalness2.42e-050000.000191002.41e-0600.0019...0000000.00127007.74e-06
key9179000095...11424442442
liveness0.850.8970.8180.4480.1540.1080.09680.1440.1010.457...0.2660.06650.06010.7360.09670.07020.08280.09260.380.0414
loudness-8.189-7.962-5.959-6.01-3.865-4.387-11.189-9.329-7.854-12.276...-8.369-9.835-11.06-10.31-11.33-9.61-8.5-12.211-12.414-9.198
mode1011111101...0111111011
nameShe's A Woman - Live / RemasteredAll My Loving - Live / RemasteredLong Tall Sally - Live / RemasteredEverybody’s Trying To Be My Baby - Live / Bonu...Love Me Do - Mono / Remastered 2015From Me To You - Mono / Remastered 2015Yesterday - Remastered 2015Something - Remastered 2015I Me Mine - Remastered 2009Dig It - Remastered 2009...Money (That's What I Want) - Remastered 2009I Saw Her Standing There - Remastered 2009Anna (Go To Him) - Remastered 2009Boys - Remastered 2009Ask Me Why - Remastered 2009Please Please Me - Remastered 2009P.S. I Love You - Remastered 2009Baby It's You - Remastered 2009Do You Want To Know A Secret - Remastered 2009Twist And Shout - Remastered 2009
popularity44424039545154494541...40524341404642424763
preview_urlhttps://p.scdn.co/mp3-preview/37806a7d82c5d2a8...https://p.scdn.co/mp3-preview/4b3b1c542e6c13cf...https://p.scdn.co/mp3-preview/d6796e399d626e81...https://p.scdn.co/mp3-preview/5aefe05e2ce3a3b4...https://p.scdn.co/mp3-preview/afae97f4c5d9519d...https://p.scdn.co/mp3-preview/ee020cf9697bbb80...https://p.scdn.co/mp3-preview/e638596e63c97034...https://p.scdn.co/mp3-preview/5de6d78267784637...https://p.scdn.co/mp3-preview/303eee3d81c6f5d2...https://p.scdn.co/mp3-preview/7fcb17fdd273bca3......https://p.scdn.co/mp3-preview/2466870a5bc5a887...https://p.scdn.co/mp3-preview/a4d434ad1d3143f7...https://p.scdn.co/mp3-preview/1c36a4f850ce035e...https://p.scdn.co/mp3-preview/c84bcc2dd65c3d9b...https://p.scdn.co/mp3-preview/f42256fa5367c68f...https://p.scdn.co/mp3-preview/c7974d03d8cd26de...https://p.scdn.co/mp3-preview/5ef1f2ba07489648...https://p.scdn.co/mp3-preview/d7eeb1f68c39066d...https://p.scdn.co/mp3-preview/5bd705943290818c...https://p.scdn.co/mp3-preview/b7e3bc96b46e4dcc...
speechiness0.06620.03370.0470.05380.09870.03180.02870.02860.05540.117...0.03940.03610.03360.05040.03780.0280.02910.03450.03680.0452
tempo175.86168.77291.268175.738148.058136.14594.509133.845185.235157.03...128.816160.109109.286142.445133.942139.388134.435112.421124.451124.631
time_signature4544444433...1444444444
track_hrefhttps://api.spotify.com/v1/tracks/150EAeMGWJRu...https://api.spotify.com/v1/tracks/24gUDXSQysdn...https://api.spotify.com/v1/tracks/6b8lhQ86u5Md...https://api.spotify.com/v1/tracks/79QDgDoBbS7p...https://api.spotify.com/v1/tracks/5JT7CoUSGNk7...https://api.spotify.com/v1/tracks/2Q2Gu7Bv8iLe...https://api.spotify.com/v1/tracks/63uskN0xLezV...https://api.spotify.com/v1/tracks/6Y6UBWhifUnk...https://api.spotify.com/v1/tracks/0i4BFZcByXtc...https://api.spotify.com/v1/tracks/5GDVGBs8qW1X......https://api.spotify.com/v1/tracks/16aAwvjzWhM4...https://api.spotify.com/v1/tracks/63nTBScSLXWw...https://api.spotify.com/v1/tracks/1hYuXMeJUOfo...https://api.spotify.com/v1/tracks/43feVCF6QfqI...https://api.spotify.com/v1/tracks/3NwEPV9MDr1z...https://api.spotify.com/v1/tracks/2Iccm3cKBQHW...https://api.spotify.com/v1/tracks/01n20rdBC5cz...https://api.spotify.com/v1/tracks/5gnrZoSS7nbD...https://api.spotify.com/v1/tracks/5FBxWhG0nbBA...https://api.spotify.com/v1/tracks/4Z1fbYp0HuxL...
track_number211131612112445...14135679101114
typeaudio_featuresaudio_featuresaudio_featuresaudio_featuresaudio_featuresaudio_featuresaudio_featuresaudio_featuresaudio_featuresaudio_features...audio_featuresaudio_featuresaudio_featuresaudio_featuresaudio_featuresaudio_featuresaudio_featuresaudio_featuresaudio_featuresaudio_features
urispotify:track:150EAeMGWJRubuH8zyx7h8spotify:track:24gUDXSQysdnTaRpbWtYlKspotify:track:6b8lhQ86u5MddlmXulslpDspotify:track:79QDgDoBbS7pCrOjIH7ByAspotify:track:5JT7CoUSGNk7mMNkHMQjqrspotify:track:2Q2Gu7Bv8iLenuygtBgDUwspotify:track:63uskN0xLezVg4281wzeQnspotify:track:6Y6UBWhifUnkJIO2mdy0S3spotify:track:0i4BFZcByXtcTFOafH5ebSspotify:track:5GDVGBs8qW1Xl3Qi0vsxue...spotify:track:16aAwvjzWhM4Cgg5RYz2fAspotify:track:63nTBScSLXWwyeizXi9Rmispotify:track:1hYuXMeJUOfoJFq0wBhzWVspotify:track:43feVCF6QfqIt9LnLs9BAHspotify:track:3NwEPV9MDr1z3KcHiAuz9dspotify:track:2Iccm3cKBQHWt5yk0yX9nhspotify:track:01n20rdBC5czKAhxmGREkrspotify:track:5gnrZoSS7nbDYtHp32RFiIspotify:track:5FBxWhG0nbBAF6lWgJFklMspotify:track:4Z1fbYp0HuxLBje4MOZcSD
valence0.5620.7070.6920.6390.7610.9680.3480.4660.5350.663...0.920.9710.8350.8250.6060.7080.780.8890.6360.942
\n", + "

33 rows × 230 columns

\n", + "
" + ], + "text/plain": [ + " 0 \\\n", + "_id 150EAeMGWJRubuH8zyx7h8 \n", + "acousticness 0.00675 \n", + "album {'artists': [{'uri': 'spotify:artist:3WrFJ7ztb... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/150E... \n", + "artist_id 3WrFJ7ztbogyGnTHbHJFl2 \n", + "artist_name The Beatles \n", + "artists [{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C... \n", + "danceability 0.188 \n", + "disc_number 1 \n", + "duration_ms 192053 \n", + "energy 0.885 \n", + "explicit False \n", + "external_ids {'isrc': 'GBUM71603957'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/15... \n", + "href https://api.spotify.com/v1/tracks/150EAeMGWJRu... \n", + "id 150EAeMGWJRubuH8zyx7h8 \n", + "instrumentalness 2.42e-05 \n", + "key 9 \n", + "liveness 0.85 \n", + "loudness -8.189 \n", + "mode 1 \n", + "name She's A Woman - Live / Remastered \n", + "popularity 44 \n", + "preview_url https://p.scdn.co/mp3-preview/37806a7d82c5d2a8... \n", + "speechiness 0.0662 \n", + "tempo 175.86 \n", + "time_signature 4 \n", + "track_href https://api.spotify.com/v1/tracks/150EAeMGWJRu... \n", + "track_number 2 \n", + "type audio_features \n", + "uri spotify:track:150EAeMGWJRubuH8zyx7h8 \n", + "valence 0.562 \n", + "\n", + " 1 \\\n", + "_id 24gUDXSQysdnTaRpbWtYlK \n", + "acousticness 0.027 \n", + "album {'artists': [{'uri': 'spotify:artist:3WrFJ7ztb... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/24gU... \n", + "artist_id 3WrFJ7ztbogyGnTHbHJFl2 \n", + "artist_name The Beatles \n", + "artists [{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C... \n", + "danceability 0.21 \n", + "disc_number 1 \n", + "duration_ms 135253 \n", + "energy 0.646 \n", + "explicit False \n", + "external_ids {'isrc': 'GBUM71603949'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/24... \n", + "href https://api.spotify.com/v1/tracks/24gUDXSQysdn... \n", + "id 24gUDXSQysdnTaRpbWtYlK \n", + "instrumentalness 0 \n", + "key 1 \n", + "liveness 0.897 \n", + "loudness -7.962 \n", + "mode 0 \n", + "name All My Loving - Live / Remastered \n", + "popularity 42 \n", + "preview_url https://p.scdn.co/mp3-preview/4b3b1c542e6c13cf... \n", + "speechiness 0.0337 \n", + "tempo 168.772 \n", + "time_signature 5 \n", + "track_href https://api.spotify.com/v1/tracks/24gUDXSQysdn... \n", + "track_number 11 \n", + "type audio_features \n", + "uri spotify:track:24gUDXSQysdnTaRpbWtYlK \n", + "valence 0.707 \n", + "\n", + " 2 \\\n", + "_id 6b8lhQ86u5MddlmXulslpD \n", + "acousticness 0.0336 \n", + "album {'artists': [{'uri': 'spotify:artist:3WrFJ7ztb... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/6b8l... \n", + "artist_id 3WrFJ7ztbogyGnTHbHJFl2 \n", + "artist_name The Beatles \n", + "artists [{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C... \n", + "danceability 0.371 \n", + "disc_number 1 \n", + "duration_ms 124653 \n", + "energy 0.903 \n", + "explicit False \n", + "external_ids {'isrc': 'GBUM71603954'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/6b... \n", + "href https://api.spotify.com/v1/tracks/6b8lhQ86u5Md... \n", + "id 6b8lhQ86u5MddlmXulslpD \n", + "instrumentalness 0 \n", + "key 7 \n", + "liveness 0.818 \n", + "loudness -5.959 \n", + "mode 1 \n", + "name Long Tall Sally - Live / Remastered \n", + "popularity 40 \n", + "preview_url https://p.scdn.co/mp3-preview/d6796e399d626e81... \n", + "speechiness 0.047 \n", + "tempo 91.268 \n", + "time_signature 4 \n", + "track_href https://api.spotify.com/v1/tracks/6b8lhQ86u5Md... \n", + "track_number 13 \n", + "type audio_features \n", + "uri spotify:track:6b8lhQ86u5MddlmXulslpD \n", + "valence 0.692 \n", + "\n", + " 3 \\\n", + "_id 79QDgDoBbS7pCrOjIH7ByA \n", + "acousticness 0.0569 \n", + "album {'artists': [{'uri': 'spotify:artist:3WrFJ7ztb... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/79QD... \n", + "artist_id 3WrFJ7ztbogyGnTHbHJFl2 \n", + "artist_name The Beatles \n", + "artists [{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C... \n", + "danceability 0.195 \n", + "disc_number 1 \n", + "duration_ms 141427 \n", + "energy 0.889 \n", + "explicit False \n", + "external_ids {'isrc': 'GBUM71603963'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/79... \n", + "href https://api.spotify.com/v1/tracks/79QDgDoBbS7p... \n", + "id 79QDgDoBbS7pCrOjIH7ByA \n", + "instrumentalness 0 \n", + "key 9 \n", + "liveness 0.448 \n", + "loudness -6.01 \n", + "mode 1 \n", + "name Everybody’s Trying To Be My Baby - Live / Bonu... \n", + "popularity 39 \n", + "preview_url https://p.scdn.co/mp3-preview/5aefe05e2ce3a3b4... \n", + "speechiness 0.0538 \n", + "tempo 175.738 \n", + "time_signature 4 \n", + "track_href https://api.spotify.com/v1/tracks/79QDgDoBbS7p... \n", + "track_number 16 \n", + "type audio_features \n", + "uri spotify:track:79QDgDoBbS7pCrOjIH7ByA \n", + "valence 0.639 \n", + "\n", + " 4 \\\n", + "_id 5JT7CoUSGNk7mMNkHMQjqr \n", + "acousticness 0.404 \n", + "album {'artists': [{'uri': 'spotify:artist:3WrFJ7ztb... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/5JT7... \n", + "artist_id 3WrFJ7ztbogyGnTHbHJFl2 \n", + "artist_name The Beatles \n", + "artists [{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C... \n", + "danceability 0.524 \n", + "disc_number 1 \n", + "duration_ms 140173 \n", + "energy 0.88 \n", + "explicit False \n", + "external_ids {'isrc': 'GBUM71505907'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/5J... \n", + "href https://api.spotify.com/v1/tracks/5JT7CoUSGNk7... \n", + "id 5JT7CoUSGNk7mMNkHMQjqr \n", + "instrumentalness 0.000191 \n", + "key 0 \n", + "liveness 0.154 \n", + "loudness -3.865 \n", + "mode 1 \n", + "name Love Me Do - Mono / Remastered 2015 \n", + "popularity 54 \n", + "preview_url https://p.scdn.co/mp3-preview/afae97f4c5d9519d... \n", + "speechiness 0.0987 \n", + "tempo 148.058 \n", + "time_signature 4 \n", + "track_href https://api.spotify.com/v1/tracks/5JT7CoUSGNk7... \n", + "track_number 1 \n", + "type audio_features \n", + "uri spotify:track:5JT7CoUSGNk7mMNkHMQjqr \n", + "valence 0.761 \n", + "\n", + " 5 \\\n", + "_id 2Q2Gu7Bv8iLenuygtBgDUw \n", + "acousticness 0.507 \n", + "album {'artists': [{'uri': 'spotify:artist:3WrFJ7ztb... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/2Q2G... \n", + "artist_id 3WrFJ7ztbogyGnTHbHJFl2 \n", + "artist_name The Beatles \n", + "artists [{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C... \n", + "danceability 0.581 \n", + "disc_number 1 \n", + "duration_ms 116160 \n", + "energy 0.821 \n", + "explicit False \n", + "external_ids {'isrc': 'GBUM71505896'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/2Q... \n", + "href https://api.spotify.com/v1/tracks/2Q2Gu7Bv8iLe... \n", + "id 2Q2Gu7Bv8iLenuygtBgDUw \n", + "instrumentalness 0 \n", + "key 0 \n", + "liveness 0.108 \n", + "loudness -4.387 \n", + "mode 1 \n", + "name From Me To You - Mono / Remastered 2015 \n", + "popularity 51 \n", + "preview_url https://p.scdn.co/mp3-preview/ee020cf9697bbb80... \n", + "speechiness 0.0318 \n", + "tempo 136.145 \n", + "time_signature 4 \n", + "track_href https://api.spotify.com/v1/tracks/2Q2Gu7Bv8iLe... \n", + "track_number 2 \n", + "type audio_features \n", + "uri spotify:track:2Q2Gu7Bv8iLenuygtBgDUw \n", + "valence 0.968 \n", + "\n", + " 6 \\\n", + "_id 63uskN0xLezVg4281wzeQn \n", + "acousticness 0.871 \n", + "album {'artists': [{'uri': 'spotify:artist:3WrFJ7ztb... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/63us... \n", + "artist_id 3WrFJ7ztbogyGnTHbHJFl2 \n", + "artist_name The Beatles \n", + "artists [{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C... \n", + "danceability 0.401 \n", + "disc_number 1 \n", + "duration_ms 125320 \n", + "energy 0.189 \n", + "explicit False \n", + "external_ids {'isrc': 'GBUM71505917'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/63... \n", + "href https://api.spotify.com/v1/tracks/63uskN0xLezV... \n", + "id 63uskN0xLezVg4281wzeQn \n", + "instrumentalness 0 \n", + "key 0 \n", + "liveness 0.0968 \n", + "loudness -11.189 \n", + "mode 1 \n", + "name Yesterday - Remastered 2015 \n", + "popularity 54 \n", + "preview_url https://p.scdn.co/mp3-preview/e638596e63c97034... \n", + "speechiness 0.0287 \n", + "tempo 94.509 \n", + "time_signature 4 \n", + "track_href https://api.spotify.com/v1/tracks/63uskN0xLezV... \n", + "track_number 11 \n", + "type audio_features \n", + "uri spotify:track:63uskN0xLezVg4281wzeQn \n", + "valence 0.348 \n", + "\n", + " 7 \\\n", + "_id 6Y6UBWhifUnkJIO2mdy0S3 \n", + "acousticness 0.302 \n", + "album {'artists': [{'uri': 'spotify:artist:3WrFJ7ztb... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/6Y6U... \n", + "artist_id 3WrFJ7ztbogyGnTHbHJFl2 \n", + "artist_name The Beatles \n", + "artists [{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C... \n", + "danceability 0.449 \n", + "disc_number 1 \n", + "duration_ms 181413 \n", + "energy 0.375 \n", + "explicit False \n", + "external_ids {'isrc': 'GBUM71505911'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/6Y... \n", + "href https://api.spotify.com/v1/tracks/6Y6UBWhifUnk... \n", + "id 6Y6UBWhifUnkJIO2mdy0S3 \n", + "instrumentalness 2.41e-06 \n", + "key 0 \n", + "liveness 0.144 \n", + "loudness -9.329 \n", + "mode 1 \n", + "name Something - Remastered 2015 \n", + "popularity 49 \n", + "preview_url https://p.scdn.co/mp3-preview/5de6d78267784637... \n", + "speechiness 0.0286 \n", + "tempo 133.845 \n", + "time_signature 4 \n", + "track_href https://api.spotify.com/v1/tracks/6Y6UBWhifUnk... \n", + "track_number 24 \n", + "type audio_features \n", + "uri spotify:track:6Y6UBWhifUnkJIO2mdy0S3 \n", + "valence 0.466 \n", + "\n", + " 8 \\\n", + "_id 0i4BFZcByXtcTFOafH5ebS \n", + "acousticness 0.179 \n", + "album {'artists': [{'uri': 'spotify:artist:3WrFJ7ztb... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/0i4B... \n", + "artist_id 3WrFJ7ztbogyGnTHbHJFl2 \n", + "artist_name The Beatles \n", + "artists [{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C... \n", + "danceability 0.291 \n", + "disc_number 1 \n", + "duration_ms 145587 \n", + "energy 0.638 \n", + "explicit False \n", + "external_ids {'isrc': 'GBAYE0601711'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/0i... \n", + "href https://api.spotify.com/v1/tracks/0i4BFZcByXtc... \n", + "id 0i4BFZcByXtcTFOafH5ebS \n", + "instrumentalness 0 \n", + "key 9 \n", + "liveness 0.101 \n", + "loudness -7.854 \n", + "mode 0 \n", + "name I Me Mine - Remastered 2009 \n", + "popularity 45 \n", + "preview_url https://p.scdn.co/mp3-preview/303eee3d81c6f5d2... \n", + "speechiness 0.0554 \n", + "tempo 185.235 \n", + "time_signature 3 \n", + "track_href https://api.spotify.com/v1/tracks/0i4BFZcByXtc... \n", + "track_number 4 \n", + "type audio_features \n", + "uri spotify:track:0i4BFZcByXtcTFOafH5ebS \n", + "valence 0.535 \n", + "\n", + " 9 \\\n", + "_id 5GDVGBs8qW1Xl3Qi0vsxue \n", + "acousticness 0.659 \n", + "album {'artists': [{'uri': 'spotify:artist:3WrFJ7ztb... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/5GDV... \n", + "artist_id 3WrFJ7ztbogyGnTHbHJFl2 \n", + "artist_name The Beatles \n", + "artists [{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C... \n", + "danceability 0.54 \n", + "disc_number 1 \n", + "duration_ms 50467 \n", + "energy 0.489 \n", + "explicit False \n", + "external_ids {'isrc': 'GBAYE0601712'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/5G... \n", + "href https://api.spotify.com/v1/tracks/5GDVGBs8qW1X... \n", + "id 5GDVGBs8qW1Xl3Qi0vsxue \n", + "instrumentalness 0.0019 \n", + "key 5 \n", + "liveness 0.457 \n", + "loudness -12.276 \n", + "mode 1 \n", + "name Dig It - Remastered 2009 \n", + "popularity 41 \n", + "preview_url https://p.scdn.co/mp3-preview/7fcb17fdd273bca3... \n", + "speechiness 0.117 \n", + "tempo 157.03 \n", + "time_signature 3 \n", + "track_href https://api.spotify.com/v1/tracks/5GDVGBs8qW1X... \n", + "track_number 5 \n", + "type audio_features \n", + "uri spotify:track:5GDVGBs8qW1Xl3Qi0vsxue \n", + "valence 0.663 \n", + "\n", + " ... \\\n", + "_id ... \n", + "acousticness ... \n", + "album ... \n", + "analysis_url ... \n", + "artist_id ... \n", + "artist_name ... \n", + "artists ... \n", + "available_markets ... \n", + "danceability ... \n", + "disc_number ... \n", + "duration_ms ... \n", + "energy ... \n", + "explicit ... \n", + "external_ids ... \n", + "external_urls ... \n", + "href ... \n", + "id ... \n", + "instrumentalness ... \n", + "key ... \n", + "liveness ... \n", + "loudness ... \n", + "mode ... \n", + "name ... \n", + "popularity ... \n", + "preview_url ... \n", + "speechiness ... \n", + "tempo ... \n", + "time_signature ... \n", + "track_href ... \n", + "track_number ... \n", + "type ... \n", + "uri ... \n", + "valence ... \n", + "\n", + " 220 \\\n", + "_id 16aAwvjzWhM4Cgg5RYz2fA \n", + "acousticness 0.425 \n", + "album {'artists': [{'uri': 'spotify:artist:3WrFJ7ztb... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/16aA... \n", + "artist_id 3WrFJ7ztbogyGnTHbHJFl2 \n", + "artist_name The Beatles \n", + "artists [{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C... \n", + "danceability 0.545 \n", + "disc_number 1 \n", + "duration_ms 169507 \n", + "energy 0.853 \n", + "explicit False \n", + "external_ids {'isrc': 'GBAYE0601437'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/16... \n", + "href https://api.spotify.com/v1/tracks/16aAwvjzWhM4... \n", + "id 16aAwvjzWhM4Cgg5RYz2fA \n", + "instrumentalness 0 \n", + "key 11 \n", + "liveness 0.266 \n", + "loudness -8.369 \n", + "mode 0 \n", + "name Money (That's What I Want) - Remastered 2009 \n", + "popularity 40 \n", + "preview_url https://p.scdn.co/mp3-preview/2466870a5bc5a887... \n", + "speechiness 0.0394 \n", + "tempo 128.816 \n", + "time_signature 1 \n", + "track_href https://api.spotify.com/v1/tracks/16aAwvjzWhM4... \n", + "track_number 14 \n", + "type audio_features \n", + "uri spotify:track:16aAwvjzWhM4Cgg5RYz2fA \n", + "valence 0.92 \n", + "\n", + " 221 \\\n", + "_id 63nTBScSLXWwyeizXi9Rmi \n", + "acousticness 0.27 \n", + "album {'artists': [{'uri': 'spotify:artist:3WrFJ7ztb... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/63nT... \n", + "artist_id 3WrFJ7ztbogyGnTHbHJFl2 \n", + "artist_name The Beatles \n", + "artists [{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C... \n", + "danceability 0.491 \n", + "disc_number 1 \n", + "duration_ms 173947 \n", + "energy 0.801 \n", + "explicit False \n", + "external_ids {'isrc': 'GBAYE0601410'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/63... \n", + "href https://api.spotify.com/v1/tracks/63nTBScSLXWw... \n", + "id 63nTBScSLXWwyeizXi9Rmi \n", + "instrumentalness 0 \n", + "key 4 \n", + "liveness 0.0665 \n", + "loudness -9.835 \n", + "mode 1 \n", + "name I Saw Her Standing There - Remastered 2009 \n", + "popularity 52 \n", + "preview_url https://p.scdn.co/mp3-preview/a4d434ad1d3143f7... \n", + "speechiness 0.0361 \n", + "tempo 160.109 \n", + "time_signature 4 \n", + "track_href https://api.spotify.com/v1/tracks/63nTBScSLXWw... \n", + "track_number 1 \n", + "type audio_features \n", + "uri spotify:track:63nTBScSLXWwyeizXi9Rmi \n", + "valence 0.971 \n", + "\n", + " 222 \\\n", + "_id 1hYuXMeJUOfoJFq0wBhzWV \n", + "acousticness 0.635 \n", + "album {'artists': [{'uri': 'spotify:artist:3WrFJ7ztb... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/1hYu... \n", + "artist_id 3WrFJ7ztbogyGnTHbHJFl2 \n", + "artist_name The Beatles \n", + "artists [{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C... \n", + "danceability 0.608 \n", + "disc_number 1 \n", + "duration_ms 177133 \n", + "energy 0.565 \n", + "explicit False \n", + "external_ids {'isrc': 'GBAYE0601412'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/1h... \n", + "href https://api.spotify.com/v1/tracks/1hYuXMeJUOfo... \n", + "id 1hYuXMeJUOfoJFq0wBhzWV \n", + "instrumentalness 0 \n", + "key 2 \n", + "liveness 0.0601 \n", + "loudness -11.06 \n", + "mode 1 \n", + "name Anna (Go To Him) - Remastered 2009 \n", + "popularity 43 \n", + "preview_url https://p.scdn.co/mp3-preview/1c36a4f850ce035e... \n", + "speechiness 0.0336 \n", + "tempo 109.286 \n", + "time_signature 4 \n", + "track_href https://api.spotify.com/v1/tracks/1hYuXMeJUOfo... \n", + "track_number 3 \n", + "type audio_features \n", + "uri spotify:track:1hYuXMeJUOfoJFq0wBhzWV \n", + "valence 0.835 \n", + "\n", + " 223 \\\n", + "_id 43feVCF6QfqIt9LnLs9BAH \n", + "acousticness 0.607 \n", + "album {'artists': [{'uri': 'spotify:artist:3WrFJ7ztb... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/43fe... \n", + "artist_id 3WrFJ7ztbogyGnTHbHJFl2 \n", + "artist_name The Beatles \n", + "artists [{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C... \n", + "danceability 0.402 \n", + "disc_number 1 \n", + "duration_ms 146440 \n", + "energy 0.86 \n", + "explicit False \n", + "external_ids {'isrc': 'GBAYE0601414'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/43... \n", + "href https://api.spotify.com/v1/tracks/43feVCF6QfqI... \n", + "id 43feVCF6QfqIt9LnLs9BAH \n", + "instrumentalness 0 \n", + "key 4 \n", + "liveness 0.736 \n", + "loudness -10.31 \n", + "mode 1 \n", + "name Boys - Remastered 2009 \n", + "popularity 41 \n", + "preview_url https://p.scdn.co/mp3-preview/c84bcc2dd65c3d9b... \n", + "speechiness 0.0504 \n", + "tempo 142.445 \n", + "time_signature 4 \n", + "track_href https://api.spotify.com/v1/tracks/43feVCF6QfqI... \n", + "track_number 5 \n", + "type audio_features \n", + "uri spotify:track:43feVCF6QfqIt9LnLs9BAH \n", + "valence 0.825 \n", + "\n", + " 224 \\\n", + "_id 3NwEPV9MDr1z3KcHiAuz9d \n", + "acousticness 0.767 \n", + "album {'artists': [{'uri': 'spotify:artist:3WrFJ7ztb... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/3NwE... \n", + "artist_id 3WrFJ7ztbogyGnTHbHJFl2 \n", + "artist_name The Beatles \n", + "artists [{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C... \n", + "danceability 0.605 \n", + "disc_number 1 \n", + "duration_ms 146533 \n", + "energy 0.394 \n", + "explicit False \n", + "external_ids {'isrc': 'GBAYE0601415'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/3N... \n", + "href https://api.spotify.com/v1/tracks/3NwEPV9MDr1z... \n", + "id 3NwEPV9MDr1z3KcHiAuz9d \n", + "instrumentalness 0 \n", + "key 4 \n", + "liveness 0.0967 \n", + "loudness -11.33 \n", + "mode 1 \n", + "name Ask Me Why - Remastered 2009 \n", + "popularity 40 \n", + "preview_url https://p.scdn.co/mp3-preview/f42256fa5367c68f... \n", + "speechiness 0.0378 \n", + "tempo 133.942 \n", + "time_signature 4 \n", + "track_href https://api.spotify.com/v1/tracks/3NwEPV9MDr1z... \n", + "track_number 6 \n", + "type audio_features \n", + "uri spotify:track:3NwEPV9MDr1z3KcHiAuz9d \n", + "valence 0.606 \n", + "\n", + " 225 \\\n", + "_id 2Iccm3cKBQHWt5yk0yX9nh \n", + "acousticness 0.334 \n", + "album {'artists': [{'uri': 'spotify:artist:3WrFJ7ztb... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/2Icc... \n", + "artist_id 3WrFJ7ztbogyGnTHbHJFl2 \n", + "artist_name The Beatles \n", + "artists [{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C... \n", + "danceability 0.527 \n", + "disc_number 1 \n", + "duration_ms 120853 \n", + "energy 0.48 \n", + "explicit False \n", + "external_ids {'isrc': 'GBAYE0601416'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/2I... \n", + "href https://api.spotify.com/v1/tracks/2Iccm3cKBQHW... \n", + "id 2Iccm3cKBQHWt5yk0yX9nh \n", + "instrumentalness 0 \n", + "key 4 \n", + "liveness 0.0702 \n", + "loudness -9.61 \n", + "mode 1 \n", + "name Please Please Me - Remastered 2009 \n", + "popularity 46 \n", + "preview_url https://p.scdn.co/mp3-preview/c7974d03d8cd26de... \n", + "speechiness 0.028 \n", + "tempo 139.388 \n", + "time_signature 4 \n", + "track_href https://api.spotify.com/v1/tracks/2Iccm3cKBQHW... \n", + "track_number 7 \n", + "type audio_features \n", + "uri spotify:track:2Iccm3cKBQHWt5yk0yX9nh \n", + "valence 0.708 \n", + "\n", + " 226 \\\n", + "_id 01n20rdBC5czKAhxmGREkr \n", + "acousticness 0.389 \n", + "album {'artists': [{'uri': 'spotify:artist:3WrFJ7ztb... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/01n2... \n", + "artist_id 3WrFJ7ztbogyGnTHbHJFl2 \n", + "artist_name The Beatles \n", + "artists [{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C... \n", + "danceability 0.635 \n", + "disc_number 1 \n", + "duration_ms 124360 \n", + "energy 0.656 \n", + "explicit False \n", + "external_ids {'isrc': 'GBAYE0601418'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/01... \n", + "href https://api.spotify.com/v1/tracks/01n20rdBC5cz... \n", + "id 01n20rdBC5czKAhxmGREkr \n", + "instrumentalness 0.00127 \n", + "key 2 \n", + "liveness 0.0828 \n", + "loudness -8.5 \n", + "mode 1 \n", + "name P.S. I Love You - Remastered 2009 \n", + "popularity 42 \n", + "preview_url https://p.scdn.co/mp3-preview/5ef1f2ba07489648... \n", + "speechiness 0.0291 \n", + "tempo 134.435 \n", + "time_signature 4 \n", + "track_href https://api.spotify.com/v1/tracks/01n20rdBC5cz... \n", + "track_number 9 \n", + "type audio_features \n", + "uri spotify:track:01n20rdBC5czKAhxmGREkr \n", + "valence 0.78 \n", + "\n", + " 227 \\\n", + "_id 5gnrZoSS7nbDYtHp32RFiI \n", + "acousticness 0.778 \n", + "album {'artists': [{'uri': 'spotify:artist:3WrFJ7ztb... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/5gnr... \n", + "artist_id 3WrFJ7ztbogyGnTHbHJFl2 \n", + "artist_name The Beatles \n", + "artists [{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C... \n", + "danceability 0.608 \n", + "disc_number 1 \n", + "duration_ms 160520 \n", + "energy 0.494 \n", + "explicit False \n", + "external_ids {'isrc': 'GBAYE0601419'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/5g... \n", + "href https://api.spotify.com/v1/tracks/5gnrZoSS7nbD... \n", + "id 5gnrZoSS7nbDYtHp32RFiI \n", + "instrumentalness 0 \n", + "key 4 \n", + "liveness 0.0926 \n", + "loudness -12.211 \n", + "mode 0 \n", + "name Baby It's You - Remastered 2009 \n", + "popularity 42 \n", + "preview_url https://p.scdn.co/mp3-preview/d7eeb1f68c39066d... \n", + "speechiness 0.0345 \n", + "tempo 112.421 \n", + "time_signature 4 \n", + "track_href https://api.spotify.com/v1/tracks/5gnrZoSS7nbD... \n", + "track_number 10 \n", + "type audio_features \n", + "uri spotify:track:5gnrZoSS7nbDYtHp32RFiI \n", + "valence 0.889 \n", + "\n", + " 228 \\\n", + "_id 5FBxWhG0nbBAF6lWgJFklM \n", + "acousticness 0.608 \n", + "album {'artists': [{'uri': 'spotify:artist:3WrFJ7ztb... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/5FBx... \n", + "artist_id 3WrFJ7ztbogyGnTHbHJFl2 \n", + "artist_name The Beatles \n", + "artists [{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C... \n", + "danceability 0.673 \n", + "disc_number 1 \n", + "duration_ms 117013 \n", + "energy 0.349 \n", + "explicit False \n", + "external_ids {'isrc': 'GBAYE0601420'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/5F... \n", + "href https://api.spotify.com/v1/tracks/5FBxWhG0nbBA... \n", + "id 5FBxWhG0nbBAF6lWgJFklM \n", + "instrumentalness 0 \n", + "key 4 \n", + "liveness 0.38 \n", + "loudness -12.414 \n", + "mode 1 \n", + "name Do You Want To Know A Secret - Remastered 2009 \n", + "popularity 47 \n", + "preview_url https://p.scdn.co/mp3-preview/5bd705943290818c... \n", + "speechiness 0.0368 \n", + "tempo 124.451 \n", + "time_signature 4 \n", + "track_href https://api.spotify.com/v1/tracks/5FBxWhG0nbBA... \n", + "track_number 11 \n", + "type audio_features \n", + "uri spotify:track:5FBxWhG0nbBAF6lWgJFklM \n", + "valence 0.636 \n", + "\n", + " 229 \n", + "_id 4Z1fbYp0HuxLBje4MOZcSD \n", + "acousticness 0.641 \n", + "album {'artists': [{'uri': 'spotify:artist:3WrFJ7ztb... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/4Z1f... \n", + "artist_id 3WrFJ7ztbogyGnTHbHJFl2 \n", + "artist_name The Beatles \n", + "artists [{'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CH, CL, CO, C... \n", + "danceability 0.482 \n", + "disc_number 1 \n", + "duration_ms 155227 \n", + "energy 0.849 \n", + "explicit False \n", + "external_ids {'isrc': 'GBAYE0601423'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/4Z... \n", + "href https://api.spotify.com/v1/tracks/4Z1fbYp0HuxL... \n", + "id 4Z1fbYp0HuxLBje4MOZcSD \n", + "instrumentalness 7.74e-06 \n", + "key 2 \n", + "liveness 0.0414 \n", + "loudness -9.198 \n", + "mode 1 \n", + "name Twist And Shout - Remastered 2009 \n", + "popularity 63 \n", + "preview_url https://p.scdn.co/mp3-preview/b7e3bc96b46e4dcc... \n", + "speechiness 0.0452 \n", + "tempo 124.631 \n", + "time_signature 4 \n", + "track_href https://api.spotify.com/v1/tracks/4Z1fbYp0HuxL... \n", + "track_number 14 \n", + "type audio_features \n", + "uri spotify:track:4Z1fbYp0HuxLBje4MOZcSD \n", + "valence 0.942 \n", + "\n", + "[33 rows x 230 columns]" + ] + }, + "execution_count": 99, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "beatles_tracks = pd.DataFrame(list(tracks.find({'artist_id': beatles_id})))\n", + "beatles_tracks.T" + ] + }, + { + "cell_type": "code", + "execution_count": 101, + "metadata": { + "collapsed": false, + "scrolled": true + }, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
0123456789...136137138139140141142143144145
_id2nTsKOXIVGDf2iPeVQO2Gm19yGmm9FjEZdZc5j98WDe44Na0siMtWOW9pJoWJ1Ponv4aOAzvRdOsZSwZIgwcdeL03SVAN3BRByDmHOhKyIDxfC53aFGAl0Vebwp2bo8wtdWR6PBHfI3G8MlQ8qdItoVoxL0R332cdlS9LyE0Ge2PSlVC1bSpwPhAxZwlR2enJJsv7U6n7GUf2h8D2Ad2wUy5s7nE...69pwmeyvQMuHMtkCmpEWhQ4DPQvbgSM0IdX4O3HOACwL4DE6Wkt9fW7R5e9gJGWQim1NgvIjkEjkhcIR1pp5Qsir7xqeIdLJSf3bgmZ7vUvHrE1HQYo8C5L0qd1p5f1anXPS0COiZ7ncho2yi4HotbzgPv2YsJM80gRMAhCikUkNZT3G3OsUjkcv1C1v5udFhgRSFg05evePUsIT1cmIURp1hgu6
acousticness0.03770.04980.2290.0001240.06260.8130.002670.09710.05770.053...0.3150.8270.04960.6740.03520.7190.9210.9920.007920.0206
album{'artists': [{'uri': 'spotify:artist:4Z8W4fKeB...{'artists': [{'uri': 'spotify:artist:4Z8W4fKeB...{'artists': [{'uri': 'spotify:artist:4Z8W4fKeB...{'artists': [{'uri': 'spotify:artist:4Z8W4fKeB...{'artists': [{'uri': 'spotify:artist:4Z8W4fKeB...{'artists': [{'uri': 'spotify:artist:4Z8W4fKeB...{'artists': [{'uri': 'spotify:artist:4Z8W4fKeB...{'artists': [{'uri': 'spotify:artist:4Z8W4fKeB...{'artists': [{'uri': 'spotify:artist:4Z8W4fKeB...{'artists': [{'uri': 'spotify:artist:4Z8W4fKeB......{'artists': [{'uri': 'spotify:artist:4Z8W4fKeB...{'artists': [{'uri': 'spotify:artist:4Z8W4fKeB...{'artists': [{'uri': 'spotify:artist:4Z8W4fKeB...{'artists': [{'uri': 'spotify:artist:4Z8W4fKeB...{'artists': [{'uri': 'spotify:artist:4Z8W4fKeB...{'artists': [{'uri': 'spotify:artist:4Z8W4fKeB...{'artists': [{'uri': 'spotify:artist:4Z8W4fKeB...{'artists': [{'uri': 'spotify:artist:4Z8W4fKeB...{'artists': [{'uri': 'spotify:artist:4Z8W4fKeB...{'artists': [{'uri': 'spotify:artist:4Z8W4fKeB...
analysis_urlhttps://api.spotify.com/v1/audio-analysis/2nTs...https://api.spotify.com/v1/audio-analysis/19yG...https://api.spotify.com/v1/audio-analysis/4Na0...https://api.spotify.com/v1/audio-analysis/4aOA...https://api.spotify.com/v1/audio-analysis/3SVA...https://api.spotify.com/v1/audio-analysis/53aF...https://api.spotify.com/v1/audio-analysis/6PBH...https://api.spotify.com/v1/audio-analysis/0R33...https://api.spotify.com/v1/audio-analysis/1bSp...https://api.spotify.com/v1/audio-analysis/6n7G......https://api.spotify.com/v1/audio-analysis/69pw...https://api.spotify.com/v1/audio-analysis/4DPQ...https://api.spotify.com/v1/audio-analysis/4DE6...https://api.spotify.com/v1/audio-analysis/1Ngv...https://api.spotify.com/v1/audio-analysis/7xqe...https://api.spotify.com/v1/audio-analysis/1HQY...https://api.spotify.com/v1/audio-analysis/0COi...https://api.spotify.com/v1/audio-analysis/2YsJ...https://api.spotify.com/v1/audio-analysis/3OsU...https://api.spotify.com/v1/audio-analysis/05ev...
artist_id4Z8W4fKeB5YxbusRsdQVPb4Z8W4fKeB5YxbusRsdQVPb4Z8W4fKeB5YxbusRsdQVPb4Z8W4fKeB5YxbusRsdQVPb4Z8W4fKeB5YxbusRsdQVPb4Z8W4fKeB5YxbusRsdQVPb4Z8W4fKeB5YxbusRsdQVPb4Z8W4fKeB5YxbusRsdQVPb4Z8W4fKeB5YxbusRsdQVPb4Z8W4fKeB5YxbusRsdQVPb...4Z8W4fKeB5YxbusRsdQVPb4Z8W4fKeB5YxbusRsdQVPb4Z8W4fKeB5YxbusRsdQVPb4Z8W4fKeB5YxbusRsdQVPb4Z8W4fKeB5YxbusRsdQVPb4Z8W4fKeB5YxbusRsdQVPb4Z8W4fKeB5YxbusRsdQVPb4Z8W4fKeB5YxbusRsdQVPb4Z8W4fKeB5YxbusRsdQVPb4Z8W4fKeB5YxbusRsdQVPb
artist_nameRadioheadRadioheadRadioheadRadioheadRadioheadRadioheadRadioheadRadioheadRadioheadRadiohead...RadioheadRadioheadRadioheadRadioheadRadioheadRadioheadRadioheadRadioheadRadioheadRadiohead
artists[{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP...[{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP...[{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP...[{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP...[{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP...[{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP...[{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP...[{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP...[{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP...[{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP......[{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP...[{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP...[{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP...[{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP...[{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP...[{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP...[{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP...[{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP...[{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP...[{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP...
available_markets[AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C...[AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C...[AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C...[AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C...[AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C...[AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C...[AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C...[AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C...[AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C...[AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C......[AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C...[AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C...[AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C...[AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C...[AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C...[AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C...[AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C...[AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C...[AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C...[AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C...
danceability0.2520.3160.2930.3520.360.4320.1850.1720.2550.206...0.1680.1570.4030.3750.6150.6450.1340.3270.3060.429
disc_number1111111111...1111111111
duration_ms387213267693267187299560264067117333230627285200229120258813...35633322260031597321100030909327580020048352695287880259200
energy0.8490.5920.2760.6740.5050.3910.8890.6550.3930.4...0.3020.1450.7570.6340.9310.4620.1290.2250.8720.88
explicitFalseFalseFalseFalseFalseFalseFalseFalseFalseFalse...FalseFalseFalseFalseFalseFalseFalseFalseFalseFalse
external_ids{'isrc': 'GBAYE9701376'}{'isrc': 'GBAYE9701377'}{'isrc': 'GBAYE9701372'}{'isrc': 'GBAYE9701374'}{'isrc': 'GBAYE9701368'}{'isrc': 'GBAYE9701373'}{'isrc': 'GBAYE9701371'}{'isrc': 'GBAYE9701370'}{'isrc': 'GBAYE9700386'}{'isrc': 'GBAYE9701375'}...{'isrc': 'GBAYE0000813'}{'isrc': 'GBAYE0000814'}{'isrc': 'GBAYE0001033'}{'isrc': 'GBAYE0000816'}{'isrc': 'GBAYE0000817'}{'isrc': 'GBAYE0000818'}{'isrc': 'GBAYE0800814'}{'isrc': 'GBAYE0800815'}{'isrc': 'GBAYE9701274'}{'isrc': 'GBAYE9400059'}
external_urls{'spotify': 'https://open.spotify.com/track/2n...{'spotify': 'https://open.spotify.com/track/19...{'spotify': 'https://open.spotify.com/track/4N...{'spotify': 'https://open.spotify.com/track/4a...{'spotify': 'https://open.spotify.com/track/3S...{'spotify': 'https://open.spotify.com/track/53...{'spotify': 'https://open.spotify.com/track/6P...{'spotify': 'https://open.spotify.com/track/0R...{'spotify': 'https://open.spotify.com/track/1b...{'spotify': 'https://open.spotify.com/track/6n......{'spotify': 'https://open.spotify.com/track/69...{'spotify': 'https://open.spotify.com/track/4D...{'spotify': 'https://open.spotify.com/track/4D...{'spotify': 'https://open.spotify.com/track/1N...{'spotify': 'https://open.spotify.com/track/7x...{'spotify': 'https://open.spotify.com/track/1H...{'spotify': 'https://open.spotify.com/track/0C...{'spotify': 'https://open.spotify.com/track/2Y...{'spotify': 'https://open.spotify.com/track/3O...{'spotify': 'https://open.spotify.com/track/05...
hrefhttps://api.spotify.com/v1/tracks/2nTsKOXIVGDf...https://api.spotify.com/v1/tracks/19yGmm9FjEZd...https://api.spotify.com/v1/tracks/4Na0siMtWOW9...https://api.spotify.com/v1/tracks/4aOAzvRdOsZS...https://api.spotify.com/v1/tracks/3SVAN3BRByDm...https://api.spotify.com/v1/tracks/53aFGAl0Vebw...https://api.spotify.com/v1/tracks/6PBHfI3G8MlQ...https://api.spotify.com/v1/tracks/0R332cdlS9Ly...https://api.spotify.com/v1/tracks/1bSpwPhAxZwl...https://api.spotify.com/v1/tracks/6n7GUf2h8D2A......https://api.spotify.com/v1/tracks/69pwmeyvQMuH...https://api.spotify.com/v1/tracks/4DPQvbgSM0Id...https://api.spotify.com/v1/tracks/4DE6Wkt9fW7R...https://api.spotify.com/v1/tracks/1NgvIjkEjkhc...https://api.spotify.com/v1/tracks/7xqeIdLJSf3b...https://api.spotify.com/v1/tracks/1HQYo8C5L0qd...https://api.spotify.com/v1/tracks/0COiZ7ncho2y...https://api.spotify.com/v1/tracks/2YsJM80gRMAh...https://api.spotify.com/v1/tracks/3OsUjkcv1C1v...https://api.spotify.com/v1/tracks/05evePUsIT1c...
id2nTsKOXIVGDf2iPeVQO2Gm19yGmm9FjEZdZc5j98WDe44Na0siMtWOW9pJoWJ1Ponv4aOAzvRdOsZSwZIgwcdeL03SVAN3BRByDmHOhKyIDxfC53aFGAl0Vebwp2bo8wtdWR6PBHfI3G8MlQ8qdItoVoxL0R332cdlS9LyE0Ge2PSlVC1bSpwPhAxZwlR2enJJsv7U6n7GUf2h8D2Ad2wUy5s7nE...69pwmeyvQMuHMtkCmpEWhQ4DPQvbgSM0IdX4O3HOACwL4DE6Wkt9fW7R5e9gJGWQim1NgvIjkEjkhcIR1pp5Qsir7xqeIdLJSf3bgmZ7vUvHrE1HQYo8C5L0qd1p5f1anXPS0COiZ7ncho2yi4HotbzgPv2YsJM80gRMAhCikUkNZT3G3OsUjkcv1C1v5udFhgRSFg05evePUsIT1cmIURp1hgu6
instrumentalness0.005920.001390.1190.129.22e-050.003630.09810.1280.003610.638...0.790.8860.8480.8282.37e-050.2910.6970.8130.80.698
key507979911511...6670327729
liveness0.05450.1030.1670.180.1720.1550.2910.1950.1130.111...0.110.1090.3050.1350.09140.340.130.1060.2610.607
loudness-6.501-8.916-11.353-9.018-9.129-14.99-5.491-7.476-10.654-9.813...-11.645-21.359-9.931-10.543-7.8-12.124-16.128-16.341-7.313-8.013
mode1111110010...0101111110
nameParanoid AndroidSubterranean Homesick AlienExit Music (For a Film)Let DownKarma PoliceFitter HappierElectioneeringClimbing Up the WallsNo SurprisesLucky...How To Disappear CompletelyTreefingersOptimisticIn LimboIdiotequeMorning BellMotion Picture SoundtrackUntitledAirbagPlanet Telex
popularity61505754674648496552...52474845534550425350
preview_urlhttps://p.scdn.co/mp3-preview/d68bd7fa4f0bd86e...https://p.scdn.co/mp3-preview/1c569ba75765a530...https://p.scdn.co/mp3-preview/60c34f0bff7c5073...https://p.scdn.co/mp3-preview/68c98db9439a6627...https://p.scdn.co/mp3-preview/5a09f5390e2862af...https://p.scdn.co/mp3-preview/750e3f7cde8f9135...https://p.scdn.co/mp3-preview/f45691770c6e5fb1...https://p.scdn.co/mp3-preview/5b1e45987b96b274...https://p.scdn.co/mp3-preview/de1369604de29117...https://p.scdn.co/mp3-preview/2471315d277d1a81......https://p.scdn.co/mp3-preview/a7631fa65da16818...https://p.scdn.co/mp3-preview/5e8736b134c6e7ed...https://p.scdn.co/mp3-preview/e5a71bda0881bc08...https://p.scdn.co/mp3-preview/064459c760ca9917...https://p.scdn.co/mp3-preview/60519b188756b8af...https://p.scdn.co/mp3-preview/ba6c14284148fc52...https://p.scdn.co/mp3-preview/7fe3e39385451ae9...https://p.scdn.co/mp3-preview/081becd2c8928041...https://p.scdn.co/mp3-preview/d0f6278fcf67c3c7...https://p.scdn.co/mp3-preview/4635aeb3172535b2...
speechiness0.05810.02960.03510.0310.0260.2420.07430.0420.02780.0324...0.03440.03540.03710.03170.240.03190.03410.0670.050.109
tempo163.704150.537121.603102.48974.807123.53877.55578.65376.426133.442...102.041138.305157.95789.752137.544142.13793.66863.422167.946148.965
time_signature4344444444...4344354343
track_hrefhttps://api.spotify.com/v1/tracks/2nTsKOXIVGDf...https://api.spotify.com/v1/tracks/19yGmm9FjEZd...https://api.spotify.com/v1/tracks/4Na0siMtWOW9...https://api.spotify.com/v1/tracks/4aOAzvRdOsZS...https://api.spotify.com/v1/tracks/3SVAN3BRByDm...https://api.spotify.com/v1/tracks/53aFGAl0Vebw...https://api.spotify.com/v1/tracks/6PBHfI3G8MlQ...https://api.spotify.com/v1/tracks/0R332cdlS9Ly...https://api.spotify.com/v1/tracks/1bSpwPhAxZwl...https://api.spotify.com/v1/tracks/6n7GUf2h8D2A......https://api.spotify.com/v1/tracks/69pwmeyvQMuH...https://api.spotify.com/v1/tracks/4DPQvbgSM0Id...https://api.spotify.com/v1/tracks/4DE6Wkt9fW7R...https://api.spotify.com/v1/tracks/1NgvIjkEjkhc...https://api.spotify.com/v1/tracks/7xqeIdLJSf3b...https://api.spotify.com/v1/tracks/1HQYo8C5L0qd...https://api.spotify.com/v1/tracks/0COiZ7ncho2y...https://api.spotify.com/v1/tracks/2YsJM80gRMAh...https://api.spotify.com/v1/tracks/3OsUjkcv1C1v...https://api.spotify.com/v1/tracks/05evePUsIT1c...
track_number234567891011...456789101111
typeaudio_featuresaudio_featuresaudio_featuresaudio_featuresaudio_featuresaudio_featuresaudio_featuresaudio_featuresaudio_featuresaudio_features...audio_featuresaudio_featuresaudio_featuresaudio_featuresaudio_featuresaudio_featuresaudio_featuresaudio_featuresaudio_featuresaudio_features
urispotify:track:2nTsKOXIVGDf2iPeVQO2Gmspotify:track:19yGmm9FjEZdZc5j98WDe4spotify:track:4Na0siMtWOW9pJoWJ1Ponvspotify:track:4aOAzvRdOsZSwZIgwcdeL0spotify:track:3SVAN3BRByDmHOhKyIDxfCspotify:track:53aFGAl0Vebwp2bo8wtdWRspotify:track:6PBHfI3G8MlQ8qdItoVoxLspotify:track:0R332cdlS9LyE0Ge2PSlVCspotify:track:1bSpwPhAxZwlR2enJJsv7Uspotify:track:6n7GUf2h8D2Ad2wUy5s7nE...spotify:track:69pwmeyvQMuHMtkCmpEWhQspotify:track:4DPQvbgSM0IdX4O3HOACwLspotify:track:4DE6Wkt9fW7R5e9gJGWQimspotify:track:1NgvIjkEjkhcIR1pp5Qsirspotify:track:7xqeIdLJSf3bgmZ7vUvHrEspotify:track:1HQYo8C5L0qd1p5f1anXPSspotify:track:0COiZ7ncho2yi4HotbzgPvspotify:track:2YsJM80gRMAhCikUkNZT3Gspotify:track:3OsUjkcv1C1v5udFhgRSFgspotify:track:05evePUsIT1cmIURp1hgu6
valence0.2020.3370.1830.1310.3110.7280.3280.2110.1260.195...0.2020.05850.5720.490.5390.390.04250.07820.6420.272
\n", + "

33 rows × 146 columns

\n", + "
" + ], + "text/plain": [ + " 0 \\\n", + "_id 2nTsKOXIVGDf2iPeVQO2Gm \n", + "acousticness 0.0377 \n", + "album {'artists': [{'uri': 'spotify:artist:4Z8W4fKeB... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/2nTs... \n", + "artist_id 4Z8W4fKeB5YxbusRsdQVPb \n", + "artist_name Radiohead \n", + "artists [{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C... \n", + "danceability 0.252 \n", + "disc_number 1 \n", + "duration_ms 387213 \n", + "energy 0.849 \n", + "explicit False \n", + "external_ids {'isrc': 'GBAYE9701376'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/2n... \n", + "href https://api.spotify.com/v1/tracks/2nTsKOXIVGDf... \n", + "id 2nTsKOXIVGDf2iPeVQO2Gm \n", + "instrumentalness 0.00592 \n", + "key 5 \n", + "liveness 0.0545 \n", + "loudness -6.501 \n", + "mode 1 \n", + "name Paranoid Android \n", + "popularity 61 \n", + "preview_url https://p.scdn.co/mp3-preview/d68bd7fa4f0bd86e... \n", + "speechiness 0.0581 \n", + "tempo 163.704 \n", + "time_signature 4 \n", + "track_href https://api.spotify.com/v1/tracks/2nTsKOXIVGDf... \n", + "track_number 2 \n", + "type audio_features \n", + "uri spotify:track:2nTsKOXIVGDf2iPeVQO2Gm \n", + "valence 0.202 \n", + "\n", + " 1 \\\n", + "_id 19yGmm9FjEZdZc5j98WDe4 \n", + "acousticness 0.0498 \n", + "album {'artists': [{'uri': 'spotify:artist:4Z8W4fKeB... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/19yG... \n", + "artist_id 4Z8W4fKeB5YxbusRsdQVPb \n", + "artist_name Radiohead \n", + "artists [{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C... \n", + "danceability 0.316 \n", + "disc_number 1 \n", + "duration_ms 267693 \n", + "energy 0.592 \n", + "explicit False \n", + "external_ids {'isrc': 'GBAYE9701377'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/19... \n", + "href https://api.spotify.com/v1/tracks/19yGmm9FjEZd... \n", + "id 19yGmm9FjEZdZc5j98WDe4 \n", + "instrumentalness 0.00139 \n", + "key 0 \n", + "liveness 0.103 \n", + "loudness -8.916 \n", + "mode 1 \n", + "name Subterranean Homesick Alien \n", + "popularity 50 \n", + "preview_url https://p.scdn.co/mp3-preview/1c569ba75765a530... \n", + "speechiness 0.0296 \n", + "tempo 150.537 \n", + "time_signature 3 \n", + "track_href https://api.spotify.com/v1/tracks/19yGmm9FjEZd... \n", + "track_number 3 \n", + "type audio_features \n", + "uri spotify:track:19yGmm9FjEZdZc5j98WDe4 \n", + "valence 0.337 \n", + "\n", + " 2 \\\n", + "_id 4Na0siMtWOW9pJoWJ1Ponv \n", + "acousticness 0.229 \n", + "album {'artists': [{'uri': 'spotify:artist:4Z8W4fKeB... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/4Na0... \n", + "artist_id 4Z8W4fKeB5YxbusRsdQVPb \n", + "artist_name Radiohead \n", + "artists [{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C... \n", + "danceability 0.293 \n", + "disc_number 1 \n", + "duration_ms 267187 \n", + "energy 0.276 \n", + "explicit False \n", + "external_ids {'isrc': 'GBAYE9701372'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/4N... \n", + "href https://api.spotify.com/v1/tracks/4Na0siMtWOW9... \n", + "id 4Na0siMtWOW9pJoWJ1Ponv \n", + "instrumentalness 0.119 \n", + "key 7 \n", + "liveness 0.167 \n", + "loudness -11.353 \n", + "mode 1 \n", + "name Exit Music (For a Film) \n", + "popularity 57 \n", + "preview_url https://p.scdn.co/mp3-preview/60c34f0bff7c5073... \n", + "speechiness 0.0351 \n", + "tempo 121.603 \n", + "time_signature 4 \n", + "track_href https://api.spotify.com/v1/tracks/4Na0siMtWOW9... \n", + "track_number 4 \n", + "type audio_features \n", + "uri spotify:track:4Na0siMtWOW9pJoWJ1Ponv \n", + "valence 0.183 \n", + "\n", + " 3 \\\n", + "_id 4aOAzvRdOsZSwZIgwcdeL0 \n", + "acousticness 0.000124 \n", + "album {'artists': [{'uri': 'spotify:artist:4Z8W4fKeB... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/4aOA... \n", + "artist_id 4Z8W4fKeB5YxbusRsdQVPb \n", + "artist_name Radiohead \n", + "artists [{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C... \n", + "danceability 0.352 \n", + "disc_number 1 \n", + "duration_ms 299560 \n", + "energy 0.674 \n", + "explicit False \n", + "external_ids {'isrc': 'GBAYE9701374'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/4a... \n", + "href https://api.spotify.com/v1/tracks/4aOAzvRdOsZS... \n", + "id 4aOAzvRdOsZSwZIgwcdeL0 \n", + "instrumentalness 0.12 \n", + "key 9 \n", + "liveness 0.18 \n", + "loudness -9.018 \n", + "mode 1 \n", + "name Let Down \n", + "popularity 54 \n", + "preview_url https://p.scdn.co/mp3-preview/68c98db9439a6627... \n", + "speechiness 0.031 \n", + "tempo 102.489 \n", + "time_signature 4 \n", + "track_href https://api.spotify.com/v1/tracks/4aOAzvRdOsZS... \n", + "track_number 5 \n", + "type audio_features \n", + "uri spotify:track:4aOAzvRdOsZSwZIgwcdeL0 \n", + "valence 0.131 \n", + "\n", + " 4 \\\n", + "_id 3SVAN3BRByDmHOhKyIDxfC \n", + "acousticness 0.0626 \n", + "album {'artists': [{'uri': 'spotify:artist:4Z8W4fKeB... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/3SVA... \n", + "artist_id 4Z8W4fKeB5YxbusRsdQVPb \n", + "artist_name Radiohead \n", + "artists [{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C... \n", + "danceability 0.36 \n", + "disc_number 1 \n", + "duration_ms 264067 \n", + "energy 0.505 \n", + "explicit False \n", + "external_ids {'isrc': 'GBAYE9701368'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/3S... \n", + "href https://api.spotify.com/v1/tracks/3SVAN3BRByDm... \n", + "id 3SVAN3BRByDmHOhKyIDxfC \n", + "instrumentalness 9.22e-05 \n", + "key 7 \n", + "liveness 0.172 \n", + "loudness -9.129 \n", + "mode 1 \n", + "name Karma Police \n", + "popularity 67 \n", + "preview_url https://p.scdn.co/mp3-preview/5a09f5390e2862af... \n", + "speechiness 0.026 \n", + "tempo 74.807 \n", + "time_signature 4 \n", + "track_href https://api.spotify.com/v1/tracks/3SVAN3BRByDm... \n", + "track_number 6 \n", + "type audio_features \n", + "uri spotify:track:3SVAN3BRByDmHOhKyIDxfC \n", + "valence 0.311 \n", + "\n", + " 5 \\\n", + "_id 53aFGAl0Vebwp2bo8wtdWR \n", + "acousticness 0.813 \n", + "album {'artists': [{'uri': 'spotify:artist:4Z8W4fKeB... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/53aF... \n", + "artist_id 4Z8W4fKeB5YxbusRsdQVPb \n", + "artist_name Radiohead \n", + "artists [{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C... \n", + "danceability 0.432 \n", + "disc_number 1 \n", + "duration_ms 117333 \n", + "energy 0.391 \n", + "explicit False \n", + "external_ids {'isrc': 'GBAYE9701373'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/53... \n", + "href https://api.spotify.com/v1/tracks/53aFGAl0Vebw... \n", + "id 53aFGAl0Vebwp2bo8wtdWR \n", + "instrumentalness 0.00363 \n", + "key 9 \n", + "liveness 0.155 \n", + "loudness -14.99 \n", + "mode 1 \n", + "name Fitter Happier \n", + "popularity 46 \n", + "preview_url https://p.scdn.co/mp3-preview/750e3f7cde8f9135... \n", + "speechiness 0.242 \n", + "tempo 123.538 \n", + "time_signature 4 \n", + "track_href https://api.spotify.com/v1/tracks/53aFGAl0Vebw... \n", + "track_number 7 \n", + "type audio_features \n", + "uri spotify:track:53aFGAl0Vebwp2bo8wtdWR \n", + "valence 0.728 \n", + "\n", + " 6 \\\n", + "_id 6PBHfI3G8MlQ8qdItoVoxL \n", + "acousticness 0.00267 \n", + "album {'artists': [{'uri': 'spotify:artist:4Z8W4fKeB... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/6PBH... \n", + "artist_id 4Z8W4fKeB5YxbusRsdQVPb \n", + "artist_name Radiohead \n", + "artists [{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C... \n", + "danceability 0.185 \n", + "disc_number 1 \n", + "duration_ms 230627 \n", + "energy 0.889 \n", + "explicit False \n", + "external_ids {'isrc': 'GBAYE9701371'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/6P... \n", + "href https://api.spotify.com/v1/tracks/6PBHfI3G8MlQ... \n", + "id 6PBHfI3G8MlQ8qdItoVoxL \n", + "instrumentalness 0.0981 \n", + "key 9 \n", + "liveness 0.291 \n", + "loudness -5.491 \n", + "mode 0 \n", + "name Electioneering \n", + "popularity 48 \n", + "preview_url https://p.scdn.co/mp3-preview/f45691770c6e5fb1... \n", + "speechiness 0.0743 \n", + "tempo 77.555 \n", + "time_signature 4 \n", + "track_href https://api.spotify.com/v1/tracks/6PBHfI3G8MlQ... \n", + "track_number 8 \n", + "type audio_features \n", + "uri spotify:track:6PBHfI3G8MlQ8qdItoVoxL \n", + "valence 0.328 \n", + "\n", + " 7 \\\n", + "_id 0R332cdlS9LyE0Ge2PSlVC \n", + "acousticness 0.0971 \n", + "album {'artists': [{'uri': 'spotify:artist:4Z8W4fKeB... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/0R33... \n", + "artist_id 4Z8W4fKeB5YxbusRsdQVPb \n", + "artist_name Radiohead \n", + "artists [{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C... \n", + "danceability 0.172 \n", + "disc_number 1 \n", + "duration_ms 285200 \n", + "energy 0.655 \n", + "explicit False \n", + "external_ids {'isrc': 'GBAYE9701370'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/0R... \n", + "href https://api.spotify.com/v1/tracks/0R332cdlS9Ly... \n", + "id 0R332cdlS9LyE0Ge2PSlVC \n", + "instrumentalness 0.128 \n", + "key 11 \n", + "liveness 0.195 \n", + "loudness -7.476 \n", + "mode 0 \n", + "name Climbing Up the Walls \n", + "popularity 49 \n", + "preview_url https://p.scdn.co/mp3-preview/5b1e45987b96b274... \n", + "speechiness 0.042 \n", + "tempo 78.653 \n", + "time_signature 4 \n", + "track_href https://api.spotify.com/v1/tracks/0R332cdlS9Ly... \n", + "track_number 9 \n", + "type audio_features \n", + "uri spotify:track:0R332cdlS9LyE0Ge2PSlVC \n", + "valence 0.211 \n", + "\n", + " 8 \\\n", + "_id 1bSpwPhAxZwlR2enJJsv7U \n", + "acousticness 0.0577 \n", + "album {'artists': [{'uri': 'spotify:artist:4Z8W4fKeB... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/1bSp... \n", + "artist_id 4Z8W4fKeB5YxbusRsdQVPb \n", + "artist_name Radiohead \n", + "artists [{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C... \n", + "danceability 0.255 \n", + "disc_number 1 \n", + "duration_ms 229120 \n", + "energy 0.393 \n", + "explicit False \n", + "external_ids {'isrc': 'GBAYE9700386'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/1b... \n", + "href https://api.spotify.com/v1/tracks/1bSpwPhAxZwl... \n", + "id 1bSpwPhAxZwlR2enJJsv7U \n", + "instrumentalness 0.00361 \n", + "key 5 \n", + "liveness 0.113 \n", + "loudness -10.654 \n", + "mode 1 \n", + "name No Surprises \n", + "popularity 65 \n", + "preview_url https://p.scdn.co/mp3-preview/de1369604de29117... \n", + "speechiness 0.0278 \n", + "tempo 76.426 \n", + "time_signature 4 \n", + "track_href https://api.spotify.com/v1/tracks/1bSpwPhAxZwl... \n", + "track_number 10 \n", + "type audio_features \n", + "uri spotify:track:1bSpwPhAxZwlR2enJJsv7U \n", + "valence 0.126 \n", + "\n", + " 9 \\\n", + "_id 6n7GUf2h8D2Ad2wUy5s7nE \n", + "acousticness 0.053 \n", + "album {'artists': [{'uri': 'spotify:artist:4Z8W4fKeB... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/6n7G... \n", + "artist_id 4Z8W4fKeB5YxbusRsdQVPb \n", + "artist_name Radiohead \n", + "artists [{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C... \n", + "danceability 0.206 \n", + "disc_number 1 \n", + "duration_ms 258813 \n", + "energy 0.4 \n", + "explicit False \n", + "external_ids {'isrc': 'GBAYE9701375'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/6n... \n", + "href https://api.spotify.com/v1/tracks/6n7GUf2h8D2A... \n", + "id 6n7GUf2h8D2Ad2wUy5s7nE \n", + "instrumentalness 0.638 \n", + "key 11 \n", + "liveness 0.111 \n", + "loudness -9.813 \n", + "mode 0 \n", + "name Lucky \n", + "popularity 52 \n", + "preview_url https://p.scdn.co/mp3-preview/2471315d277d1a81... \n", + "speechiness 0.0324 \n", + "tempo 133.442 \n", + "time_signature 4 \n", + "track_href https://api.spotify.com/v1/tracks/6n7GUf2h8D2A... \n", + "track_number 11 \n", + "type audio_features \n", + "uri spotify:track:6n7GUf2h8D2Ad2wUy5s7nE \n", + "valence 0.195 \n", + "\n", + " ... \\\n", + "_id ... \n", + "acousticness ... \n", + "album ... \n", + "analysis_url ... \n", + "artist_id ... \n", + "artist_name ... \n", + "artists ... \n", + "available_markets ... \n", + "danceability ... \n", + "disc_number ... \n", + "duration_ms ... \n", + "energy ... \n", + "explicit ... \n", + "external_ids ... \n", + "external_urls ... \n", + "href ... \n", + "id ... \n", + "instrumentalness ... \n", + "key ... \n", + "liveness ... \n", + "loudness ... \n", + "mode ... \n", + "name ... \n", + "popularity ... \n", + "preview_url ... \n", + "speechiness ... \n", + "tempo ... \n", + "time_signature ... \n", + "track_href ... \n", + "track_number ... \n", + "type ... \n", + "uri ... \n", + "valence ... \n", + "\n", + " 136 \\\n", + "_id 69pwmeyvQMuHMtkCmpEWhQ \n", + "acousticness 0.315 \n", + "album {'artists': [{'uri': 'spotify:artist:4Z8W4fKeB... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/69pw... \n", + "artist_id 4Z8W4fKeB5YxbusRsdQVPb \n", + "artist_name Radiohead \n", + "artists [{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C... \n", + "danceability 0.168 \n", + "disc_number 1 \n", + "duration_ms 356333 \n", + "energy 0.302 \n", + "explicit False \n", + "external_ids {'isrc': 'GBAYE0000813'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/69... \n", + "href https://api.spotify.com/v1/tracks/69pwmeyvQMuH... \n", + "id 69pwmeyvQMuHMtkCmpEWhQ \n", + "instrumentalness 0.79 \n", + "key 6 \n", + "liveness 0.11 \n", + "loudness -11.645 \n", + "mode 0 \n", + "name How To Disappear Completely \n", + "popularity 52 \n", + "preview_url https://p.scdn.co/mp3-preview/a7631fa65da16818... \n", + "speechiness 0.0344 \n", + "tempo 102.041 \n", + "time_signature 4 \n", + "track_href https://api.spotify.com/v1/tracks/69pwmeyvQMuH... \n", + "track_number 4 \n", + "type audio_features \n", + "uri spotify:track:69pwmeyvQMuHMtkCmpEWhQ \n", + "valence 0.202 \n", + "\n", + " 137 \\\n", + "_id 4DPQvbgSM0IdX4O3HOACwL \n", + "acousticness 0.827 \n", + "album {'artists': [{'uri': 'spotify:artist:4Z8W4fKeB... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/4DPQ... \n", + "artist_id 4Z8W4fKeB5YxbusRsdQVPb \n", + "artist_name Radiohead \n", + "artists [{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C... \n", + "danceability 0.157 \n", + "disc_number 1 \n", + "duration_ms 222600 \n", + "energy 0.145 \n", + "explicit False \n", + "external_ids {'isrc': 'GBAYE0000814'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/4D... \n", + "href https://api.spotify.com/v1/tracks/4DPQvbgSM0Id... \n", + "id 4DPQvbgSM0IdX4O3HOACwL \n", + "instrumentalness 0.886 \n", + "key 6 \n", + "liveness 0.109 \n", + "loudness -21.359 \n", + "mode 1 \n", + "name Treefingers \n", + "popularity 47 \n", + "preview_url https://p.scdn.co/mp3-preview/5e8736b134c6e7ed... \n", + "speechiness 0.0354 \n", + "tempo 138.305 \n", + "time_signature 3 \n", + "track_href https://api.spotify.com/v1/tracks/4DPQvbgSM0Id... \n", + "track_number 5 \n", + "type audio_features \n", + "uri spotify:track:4DPQvbgSM0IdX4O3HOACwL \n", + "valence 0.0585 \n", + "\n", + " 138 \\\n", + "_id 4DE6Wkt9fW7R5e9gJGWQim \n", + "acousticness 0.0496 \n", + "album {'artists': [{'uri': 'spotify:artist:4Z8W4fKeB... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/4DE6... \n", + "artist_id 4Z8W4fKeB5YxbusRsdQVPb \n", + "artist_name Radiohead \n", + "artists [{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C... \n", + "danceability 0.403 \n", + "disc_number 1 \n", + "duration_ms 315973 \n", + "energy 0.757 \n", + "explicit False \n", + "external_ids {'isrc': 'GBAYE0001033'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/4D... \n", + "href https://api.spotify.com/v1/tracks/4DE6Wkt9fW7R... \n", + "id 4DE6Wkt9fW7R5e9gJGWQim \n", + "instrumentalness 0.848 \n", + "key 7 \n", + "liveness 0.305 \n", + "loudness -9.931 \n", + "mode 0 \n", + "name Optimistic \n", + "popularity 48 \n", + "preview_url https://p.scdn.co/mp3-preview/e5a71bda0881bc08... \n", + "speechiness 0.0371 \n", + "tempo 157.957 \n", + "time_signature 4 \n", + "track_href https://api.spotify.com/v1/tracks/4DE6Wkt9fW7R... \n", + "track_number 6 \n", + "type audio_features \n", + "uri spotify:track:4DE6Wkt9fW7R5e9gJGWQim \n", + "valence 0.572 \n", + "\n", + " 139 \\\n", + "_id 1NgvIjkEjkhcIR1pp5Qsir \n", + "acousticness 0.674 \n", + "album {'artists': [{'uri': 'spotify:artist:4Z8W4fKeB... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/1Ngv... \n", + "artist_id 4Z8W4fKeB5YxbusRsdQVPb \n", + "artist_name Radiohead \n", + "artists [{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C... \n", + "danceability 0.375 \n", + "disc_number 1 \n", + "duration_ms 211000 \n", + "energy 0.634 \n", + "explicit False \n", + "external_ids {'isrc': 'GBAYE0000816'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/1N... \n", + "href https://api.spotify.com/v1/tracks/1NgvIjkEjkhc... \n", + "id 1NgvIjkEjkhcIR1pp5Qsir \n", + "instrumentalness 0.828 \n", + "key 0 \n", + "liveness 0.135 \n", + "loudness -10.543 \n", + "mode 1 \n", + "name In Limbo \n", + "popularity 45 \n", + "preview_url https://p.scdn.co/mp3-preview/064459c760ca9917... \n", + "speechiness 0.0317 \n", + "tempo 89.752 \n", + "time_signature 4 \n", + "track_href https://api.spotify.com/v1/tracks/1NgvIjkEjkhc... \n", + "track_number 7 \n", + "type audio_features \n", + "uri spotify:track:1NgvIjkEjkhcIR1pp5Qsir \n", + "valence 0.49 \n", + "\n", + " 140 \\\n", + "_id 7xqeIdLJSf3bgmZ7vUvHrE \n", + "acousticness 0.0352 \n", + "album {'artists': [{'uri': 'spotify:artist:4Z8W4fKeB... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/7xqe... \n", + "artist_id 4Z8W4fKeB5YxbusRsdQVPb \n", + "artist_name Radiohead \n", + "artists [{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C... \n", + "danceability 0.615 \n", + "disc_number 1 \n", + "duration_ms 309093 \n", + "energy 0.931 \n", + "explicit False \n", + "external_ids {'isrc': 'GBAYE0000817'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/7x... \n", + "href https://api.spotify.com/v1/tracks/7xqeIdLJSf3b... \n", + "id 7xqeIdLJSf3bgmZ7vUvHrE \n", + "instrumentalness 2.37e-05 \n", + "key 3 \n", + "liveness 0.0914 \n", + "loudness -7.8 \n", + "mode 1 \n", + "name Idioteque \n", + "popularity 53 \n", + "preview_url https://p.scdn.co/mp3-preview/60519b188756b8af... \n", + "speechiness 0.24 \n", + "tempo 137.544 \n", + "time_signature 3 \n", + "track_href https://api.spotify.com/v1/tracks/7xqeIdLJSf3b... \n", + "track_number 8 \n", + "type audio_features \n", + "uri spotify:track:7xqeIdLJSf3bgmZ7vUvHrE \n", + "valence 0.539 \n", + "\n", + " 141 \\\n", + "_id 1HQYo8C5L0qd1p5f1anXPS \n", + "acousticness 0.719 \n", + "album {'artists': [{'uri': 'spotify:artist:4Z8W4fKeB... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/1HQY... \n", + "artist_id 4Z8W4fKeB5YxbusRsdQVPb \n", + "artist_name Radiohead \n", + "artists [{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C... \n", + "danceability 0.645 \n", + "disc_number 1 \n", + "duration_ms 275800 \n", + "energy 0.462 \n", + "explicit False \n", + "external_ids {'isrc': 'GBAYE0000818'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/1H... \n", + "href https://api.spotify.com/v1/tracks/1HQYo8C5L0qd... \n", + "id 1HQYo8C5L0qd1p5f1anXPS \n", + "instrumentalness 0.291 \n", + "key 2 \n", + "liveness 0.34 \n", + "loudness -12.124 \n", + "mode 1 \n", + "name Morning Bell \n", + "popularity 45 \n", + "preview_url https://p.scdn.co/mp3-preview/ba6c14284148fc52... \n", + "speechiness 0.0319 \n", + "tempo 142.137 \n", + "time_signature 5 \n", + "track_href https://api.spotify.com/v1/tracks/1HQYo8C5L0qd... \n", + "track_number 9 \n", + "type audio_features \n", + "uri spotify:track:1HQYo8C5L0qd1p5f1anXPS \n", + "valence 0.39 \n", + "\n", + " 142 \\\n", + "_id 0COiZ7ncho2yi4HotbzgPv \n", + "acousticness 0.921 \n", + "album {'artists': [{'uri': 'spotify:artist:4Z8W4fKeB... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/0COi... \n", + "artist_id 4Z8W4fKeB5YxbusRsdQVPb \n", + "artist_name Radiohead \n", + "artists [{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C... \n", + "danceability 0.134 \n", + "disc_number 1 \n", + "duration_ms 200483 \n", + "energy 0.129 \n", + "explicit False \n", + "external_ids {'isrc': 'GBAYE0800814'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/0C... \n", + "href https://api.spotify.com/v1/tracks/0COiZ7ncho2y... \n", + "id 0COiZ7ncho2yi4HotbzgPv \n", + "instrumentalness 0.697 \n", + "key 7 \n", + "liveness 0.13 \n", + "loudness -16.128 \n", + "mode 1 \n", + "name Motion Picture Soundtrack \n", + "popularity 50 \n", + "preview_url https://p.scdn.co/mp3-preview/7fe3e39385451ae9... \n", + "speechiness 0.0341 \n", + "tempo 93.668 \n", + "time_signature 4 \n", + "track_href https://api.spotify.com/v1/tracks/0COiZ7ncho2y... \n", + "track_number 10 \n", + "type audio_features \n", + "uri spotify:track:0COiZ7ncho2yi4HotbzgPv \n", + "valence 0.0425 \n", + "\n", + " 143 \\\n", + "_id 2YsJM80gRMAhCikUkNZT3G \n", + "acousticness 0.992 \n", + "album {'artists': [{'uri': 'spotify:artist:4Z8W4fKeB... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/2YsJ... \n", + "artist_id 4Z8W4fKeB5YxbusRsdQVPb \n", + "artist_name Radiohead \n", + "artists [{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C... \n", + "danceability 0.327 \n", + "disc_number 1 \n", + "duration_ms 52695 \n", + "energy 0.225 \n", + "explicit False \n", + "external_ids {'isrc': 'GBAYE0800815'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/2Y... \n", + "href https://api.spotify.com/v1/tracks/2YsJM80gRMAh... \n", + "id 2YsJM80gRMAhCikUkNZT3G \n", + "instrumentalness 0.813 \n", + "key 7 \n", + "liveness 0.106 \n", + "loudness -16.341 \n", + "mode 1 \n", + "name Untitled \n", + "popularity 42 \n", + "preview_url https://p.scdn.co/mp3-preview/081becd2c8928041... \n", + "speechiness 0.067 \n", + "tempo 63.422 \n", + "time_signature 3 \n", + "track_href https://api.spotify.com/v1/tracks/2YsJM80gRMAh... \n", + "track_number 11 \n", + "type audio_features \n", + "uri spotify:track:2YsJM80gRMAhCikUkNZT3G \n", + "valence 0.0782 \n", + "\n", + " 144 \\\n", + "_id 3OsUjkcv1C1v5udFhgRSFg \n", + "acousticness 0.00792 \n", + "album {'artists': [{'uri': 'spotify:artist:4Z8W4fKeB... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/3OsU... \n", + "artist_id 4Z8W4fKeB5YxbusRsdQVPb \n", + "artist_name Radiohead \n", + "artists [{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C... \n", + "danceability 0.306 \n", + "disc_number 1 \n", + "duration_ms 287880 \n", + "energy 0.872 \n", + "explicit False \n", + "external_ids {'isrc': 'GBAYE9701274'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/3O... \n", + "href https://api.spotify.com/v1/tracks/3OsUjkcv1C1v... \n", + "id 3OsUjkcv1C1v5udFhgRSFg \n", + "instrumentalness 0.8 \n", + "key 2 \n", + "liveness 0.261 \n", + "loudness -7.313 \n", + "mode 1 \n", + "name Airbag \n", + "popularity 53 \n", + "preview_url https://p.scdn.co/mp3-preview/d0f6278fcf67c3c7... \n", + "speechiness 0.05 \n", + "tempo 167.946 \n", + "time_signature 4 \n", + "track_href https://api.spotify.com/v1/tracks/3OsUjkcv1C1v... \n", + "track_number 1 \n", + "type audio_features \n", + "uri spotify:track:3OsUjkcv1C1v5udFhgRSFg \n", + "valence 0.642 \n", + "\n", + " 145 \n", + "_id 05evePUsIT1cmIURp1hgu6 \n", + "acousticness 0.0206 \n", + "album {'artists': [{'uri': 'spotify:artist:4Z8W4fKeB... \n", + "analysis_url https://api.spotify.com/v1/audio-analysis/05ev... \n", + "artist_id 4Z8W4fKeB5YxbusRsdQVPb \n", + "artist_name Radiohead \n", + "artists [{'uri': 'spotify:artist:4Z8W4fKeB5YxbusRsdQVP... \n", + "available_markets [AD, AR, AT, AU, BE, BG, BO, BR, CA, CH, CL, C... \n", + "danceability 0.429 \n", + "disc_number 1 \n", + "duration_ms 259200 \n", + "energy 0.88 \n", + "explicit False \n", + "external_ids {'isrc': 'GBAYE9400059'} \n", + "external_urls {'spotify': 'https://open.spotify.com/track/05... \n", + "href https://api.spotify.com/v1/tracks/05evePUsIT1c... \n", + "id 05evePUsIT1cmIURp1hgu6 \n", + "instrumentalness 0.698 \n", + "key 9 \n", + "liveness 0.607 \n", + "loudness -8.013 \n", + "mode 0 \n", + "name Planet Telex \n", + "popularity 50 \n", + "preview_url https://p.scdn.co/mp3-preview/4635aeb3172535b2... \n", + "speechiness 0.109 \n", + "tempo 148.965 \n", + "time_signature 3 \n", + "track_href https://api.spotify.com/v1/tracks/05evePUsIT1c... \n", + "track_number 1 \n", + "type audio_features \n", + "uri spotify:track:05evePUsIT1cmIURp1hgu6 \n", + "valence 0.272 \n", + "\n", + "[33 rows x 146 columns]" + ] + }, + "execution_count": 101, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "radiohead_tracks = pd.DataFrame(list(tracks.find({'artist_id': radiohead_id})))\n", + "radiohead_tracks.T" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "How happy are the Beatles and Radiohead tracks?" + ] + }, + { + "cell_type": "code", + "execution_count": 100, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/plain": [ + "" + ] + }, + "execution_count": 100, + "metadata": {}, + "output_type": "execute_result" + }, + { + "data": { + "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXUAAAEACAYAAABMEua6AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAEsZJREFUeJzt3X+MbHdZx/H3c7ltAxR6b4u9Wyl0RUNLwLoYrJgSHH7I\nLxPb8McNEJGVkJiISkIi3JKYxj8UiX9IjNEEJdwLkVAEoUUhLeX2SEhAIKE/hFIpcq9Q6RQovQaE\nmxYe/5jZne3euTtnd2bO98yZ9yuZ3DlzZ/b7nCdnnj372T27kZlIkrphX+kCJEmz41CXpA5xqEtS\nhzjUJalDHOqS1CEOdUnqkP11nhQRJ4BTwE+BhzPzqog4CNwAXAacAA5n5qk51SlJqqHumfpPgV5m\nPjszrxo+dgS4NTMvB44D182jQElSfXW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\nC/DK0nUXPCYuAL4MPHm4/aTSdRfsxfXA2zf6AHwP2F+69jn143nAGnDnWf5/13NzVmfqdS5EugZ4\nL0Bm/jtwQUQcmtH6bTKxF5n5uczc+Ovan6ObP99f9+K0PwQ+BDzQZHENq9OL1wAfzsz7ADLzuw3X\n2JQ6vbgfeMLw/hOA72XmIw3W2JjM/Azw/R2esuu5OauhXudCpO3PuW/Mc7pgtxdlvQH4xFwrKmNi\nHyLiZ4FrM/PvKP9zdfNU55h4OnBhRNwWEV+IiNc2Vl2z6vTi74FnRsT/AHcAb2qotjba9dxs3cVH\nyyQiXgD8LoMvwZbRO4GtmWqXB/sk+4FfBl4IPB74bER8NjPvLVtWEdcBd2TmCyLi54FPRsSVmfmD\n0oUtglkN9ToXIt0HPGXCc7qg1kVZEXEl8C7gZZm505dfi6pOH54DfCAGV2E8CXh5RDycmTc1VGNT\n6vTiW8B3M/PHwI8j4tPALzHIn7ukTi+uBv4MIDO/HhHfAK4AvthIhe2y67k5q/jlC8AvRMRlEXEu\n8Cpg+xvzJuB3ACLiucBDmdmf0fptMrEXEfFU4MPAazPz6wVqbMLEPmTm04a3n2OQq/9+Bwc61Ht/\n3Ag8LyIeExGPY/BNsS5e91GnF3cDLwYY5sdPB/6r0SqbFZz9q9Rdz82ZnKnnWS5EiojfG/x3visz\nPx4Rr4iIe4EfMogdOqdOL4A/AS4E/nZ4lvpwZl5VrurZq9mHR72k8SIbUvP98dWIuBm4E/gJ8K7M\n/ErBsuei5nHxduA9EXEHg2H3lsx8sFzV8xMR72fw554uioj/ZvCTP+cyxdz04iNJ6hD/nJ0kdYhD\nXZI6xKEuSR3iUJekDnGoS1KHONQlqUMc6pLUIQ51SeqQ/wfN8UNzhDG2cgAAAABJRU5ErkJggg==\n", + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "beatles_tracks['valence'].hist()" + ] + }, + { + "cell_type": "code", + "execution_count": 102, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/plain": [ + "" + ] + }, + "execution_count": 102, + "metadata": {}, + "output_type": "execute_result" + }, + { + "data": { + "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXUAAAEACAYAAABMEua6AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAGgpJREFUeJzt3X+MZWd93/H3117XZeNkZ8FhTXHxRJEIGMWdutRxAYlj\nwO1StbHlfwpELUNpmj8KQQlR7QqirVKawqJapYqoFH5kDBLlD4PAhrqYgp+2hhgSe69/14WUyRaa\nGeRfqa0tCGe+/eOeWV/Pfe7cc8/cc7+P7/m8pNHOuXPvPG/fM3529jtnZszdERGR5XBOdICIiMyP\nNnURkSWiTV1EZIloUxcRWSLa1EVElog2dRGRJTJ1Uzez883sW2Z2ysweNLPfrW8/YWbfN7N76pfj\n3eeKiMh+rMl16mZ22N3PmNm5wDeA9wJvAp5y9xs7bhQRkYYajV/c/Uz96vn1Y56oj62LKBERaafR\npm5m55jZKWALSO7+UP2md5nZwMw+bmZHOqsUEZFGGo1fzt7Z7GeA24HrgYeAR93dzewDwEvc/Z3d\nZIqISBOHZrmzu/9fM/sy8Gp3/68jb/oYcGvuMWamHy4jItKCu8884m5y9cuFu6MVM3sBcDUwMLOL\nRu52HfDAPmFFvZw4cSK84fnQVGqXmtTUh662mnym/hLgJjMzhn8JfNrdv2ZmnzKzNWAH2AR+rXXF\ngm1ubkYnjCmxCcrsUlMzamqu1K42pm7q7n4/cHnm9n/USZGIiLTWy+8oXV9fj04YU2ITlNmlpmbU\n1FypXW3MdPVLqwXMvOs1RESWjZnhXXyhdBmllKITxpTYBGV2qakZNTVXalcbvdzURUSWlcYvIiIF\n0vhFRET6uamXOD8rsQnK7FJTM2pqrtSuNnq5qYuILCvN1EVECqSZuoiI9HNTL3F+VmITlNmlpmbU\n1FypXW30clMXEVlWmqmLiBRIM3UREennpl7i/KzEJiizS03NqKm5Urva6OWmLiKyrDRTFxEpkGbq\nIiLSz029xPl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Z2Yvc/bHA\nplcDnzUzYzj/fLOZ/cTdb+moqVHX6Abg7reZ2UfN7IXu/nhUE8PPAB919x8BPzKz/wb8NYbz3Kim\nXW+h+9ELNGt6LfCvAdz9T8zse8ArgD+OanL3p4B/vHtcN/2vfd/rnAb+5/LswP8vMRz4v3LPff4u\nz36h9Eq6/wLg1KaR+54A3ttlzwzP08uA7wBXdt0zQ9PPj7x+OfAn0U177v8HLOYLpU2eq2Mjr18B\nbBbQ9Argq/V9DzP8jO/S6PPH8Au4jwEvKOTc/VvgxO55ZDgaeWFw0xHgvPr1XwU2pr7fOQYeZ/gd\npt8Bbqhv+zXgn47c5/fq/4h7gcsXcCL3bRo5cU8CjwOngQuCmz5Wf6Dfw/CfWt8u4Hn658ADddN/\nB14d3bTnvp9kAZt6w+fqn9XP1Sngm8AvRTfVx7/F8AqY+4B3F9L0duAzizhvDc/dhcCt9f50H8Pv\nkI9uurJ++8MMLwo4Mu196puPRESWiH6dnYjIEtGmLiKyRLSpi4gsEW3qIiJLRJu6iMgS0aYuIrJE\ntKmLiCwRbeoiIkvk/wOeJ/xuf0ugsAAAAABJRU5ErkJggg==\n", + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "radiohead_tracks['valence'].hist()" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Lyrics search\n", + "Now to find the lyrics for each track. \n", + "\n", + "We start by searching for the Genius ID for the artists.\n", + "\n", + "Note that Genius doesn't like Python-generated requests to its API, so we set the header to pretend to be a command-line `curl` request.\n", + "\n", + "* [Top](#top)" + ] + }, + { + "cell_type": "code", + "execution_count": 58, + "metadata": { + "collapsed": false + }, + "outputs": [], + "source": [ + "def genius_artist_search(artist_name, per_page=20):\n", + " query = urllib.parse.urlencode({'q': artist_name,\n", + " 'per_page': str(per_page)\n", + " })\n", + " headers = {'Accept': 'application/json',\n", + " 'Authorization': 'Bearer ' + config['genius']['token'],\n", + " 'User-Agent': 'curl/7.9.8 (i686-pc-linux-gnu) libcurl 7.9.8 (OpenSSL 0.9.6b) (ipv6 enabled)'}\n", + " request = urllib.request.Request('https://api.genius.com/search?{}'.format(query), \n", + " headers=headers,\n", + " method='GET')\n", + " with urllib.request.urlopen(request) as f:\n", + " response = json.loads(f.read().decode('utf-8'))\n", + " return response" + ] + }, + { + "cell_type": "code", + "execution_count": 59, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/plain": [ + "586" + ] + }, + "execution_count": 59, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "response = genius_artist_search('the beatles')\n", + "beatles_genius_id = [hit['result']['primary_artist']['id'] for hit in response['response']['hits']][0]\n", + "beatles_genius_id" + ] + }, + { + "cell_type": "code", + "execution_count": 103, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/plain": [ + "604" + ] + }, + "execution_count": 103, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "response = genius_artist_search('radiohead')\n", + "radiohead_genius_id = [hit['result']['primary_artist']['id'] for hit in response['response']['hits']][0]\n", + "radiohead_genius_id" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "We can now get the song information for each track for each artist. Note that Genius keeps lots of things to do with artists, including sleeve notes and the like. We're just after the lyrics." + ] + }, + { + "cell_type": "code", + "execution_count": 60, + "metadata": { + "collapsed": false + }, + "outputs": [], + "source": [ + "def genius_song_search(artist_id):\n", + " songs = pd.DataFrame()\n", + " page = 1\n", + " while page:\n", + " query = urllib.parse.urlencode({'page': page, 'per_page': 20})\n", + " headers = {'Accept': 'application/json',\n", + " 'Authorization': 'Bearer ' + config['genius']['token'],\n", + " 'User-Agent': 'curl/7.9.8 (i686-pc-linux-gnu) libcurl 7.9.8 (OpenSSL 0.9.6b) (ipv6 enabled)'}\n", + " request = urllib.request.Request('https://api.genius.com/artists/{id}/songs?{query}'.format(id=artist_id,\n", + " query=query), \n", + " headers=headers,\n", + " method='GET')\n", + " with urllib.request.urlopen(request) as f:\n", + " response = json.loads(f.read().decode('utf-8'))\n", + " page = response['response']['next_page']\n", + " for song in response['response']['songs']:\n", + " if song['path'].endswith('lyrics'):\n", + " song['_id'] = song['id']\n", + " genius_tracks.replace_one({'_id': song['id']}, song, upsert=True)" + ] + }, + { + "cell_type": "code", + "execution_count": 61, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/plain": [ + "402" + ] + }, + "execution_count": 61, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "genius_song_search(beatles_genius_id)\n", + "genius_tracks.find().count()" + ] + }, + { + "cell_type": "code", + "execution_count": 104, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/plain": [ + "611" + ] + }, + "execution_count": 104, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "genius_song_search(radiohead_genius_id)\n", + "genius_tracks.find().count()" + ] + }, + { + "cell_type": "code", + "execution_count": 105, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/plain": [ + "{'_id': 123816,\n", + " 'annotation_count': 5,\n", + " 'api_path': '/songs/123816',\n", + " 'ctitle': 'act naturally',\n", + " 'full_title': 'Act Naturally by\\xa0The\\xa0Beatles',\n", + " 'header_image_thumbnail_url': 'https://images.genius.com/adbf27acc77a06acfa4a506086952f31.300x300x1.jpg',\n", + " 'header_image_url': 'https://images.genius.com/adbf27acc77a06acfa4a506086952f31.600x600x1.jpg',\n", + " 'id': 123816,\n", + " 'lyrics': \"they're gonna put me in the movies they're gonna make a big star out of me we'll make a film about a man that's sad and lonely and all i gotta do is act naturally well, i'll bet you i'm gonna be a big star might win an oscar you can never tell the movies gonna make me a big star cos i can play the part so well well i hope you'll come and see me in the movies then i know that you will plainly see the biggest fool that ever hit the big time and all i gotta do is act naturally we'll make the scene about a man that's sad and lonely and begging down upon his bended knee i'll play the part and i won't need rehearsing all i gotta do is act naturally\",\n", + " 'lyrics_owner_id': 22533,\n", + " 'path': '/The-beatles-act-naturally-lyrics',\n", + " 'primary_artist': {'api_path': '/artists/586',\n", + " 'header_image_url': 'https://images.genius.com/b82dbb78926a812abfa10886ac84c1a8.1000x523x1.jpg',\n", + " 'id': 586,\n", + " 'image_url': 'https://images.genius.com/ad1f59e8a03be4eb521e88015d15d6e8.200x200x1.jpg',\n", + " 'is_meme_verified': False,\n", + " 'is_verified': False,\n", + " 'name': 'The Beatles',\n", + " 'url': 'https://genius.com/artists/The-beatles'},\n", + " 'pyongs_count': 2,\n", + " 'song_art_image_thumbnail_url': 'https://images.genius.com/adbf27acc77a06acfa4a506086952f31.300x300x1.jpg',\n", + " 'stats': {'hot': False, 'unreviewed_annotations': 0},\n", + " 'title': 'Act Naturally',\n", + " 'url': 'https://genius.com/The-beatles-act-naturally-lyrics'}" + ] + }, + "execution_count": 105, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "genius_tracks.find_one()" + ] + }, + { + "cell_type": "code", + "execution_count": 106, + "metadata": { + "collapsed": false, + "scrolled": false + }, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
0123456789...601602603604605606607608609610
_id12381621031521071214977681065762105401235331274297210284524428...63102103960624695092904512196343659242913460115809114477642622
annotation_count51211205111...5180980741
api_path/songs/123816/songs/210315/songs/210712/songs/1497768/songs/106576/songs/210540/songs/123533/songs/1274297/songs/210284/songs/524428.../songs/63102/songs/1039606/songs/2469509/songs/2904512/songs/196343/songs/65924/songs/2913460/songs/115809/songs/114477/songs/642622
ctitleact naturallya little rhymeall things must passall together on the wireless machineand your bird can singaint she sweetand i love herbad to mebeatle greetingsNaN...NaNNaNNaNNaNNaNNaNNaNNaNNaNNaN
full_titleAct Naturally by The BeatlesA Little Rhyme by The Beatles (Ft. John & Rodn...All Things Must Pass by The BeatlesAll Together on the Wireless Machine by The Be...And Your Bird Can Sing by The BeatlesAin't She Sweet by The BeatlesAnd I Love Her by The BeatlesBad to Me by The BeatlesBeatle Greetings by The Beatles (Ft. George Ha...Everyone Needs Someone To Hate by On A Friday ......The National Anthem by RadioheadThese Are My Twisted Words by RadioheadTinker Tailor Soldier Sailor Rich Man Poor Man...To Be A Brilliant Light by On A Friday (Ft. Ra...True Love Waits by RadioheadWeird Fishes / Arpeggi by RadioheadWhat Is It That You Say by On A Friday (Ft. Ra...Where I End and You Begin by RadioheadYou and Whose Army? by RadioheadYou Never Wash Up After Yourself by Radiohead
header_image_thumbnail_urlhttps://images.genius.com/adbf27acc77a06acfa4a...https://s3.amazonaws.com/rapgenius/110537_cda_...https://images.genius.com/77f6f3871295b6069761...https://images.genius.com/ad1f59e8a03be4eb521e...https://images.genius.com/59b22781e23136c9c464...https://s3.amazonaws.com/rapgenius/view.jpghttps://images.genius.com/68c11c7f5b6b66194d77...https://images.genius.com/6f304f07098a410106d9...https://s3.amazonaws.com/rapgenius/110537_cda_...https://images.genius.com/486acf44f6ac31cc8352......https://images.genius.com/672520006c5c85e87a29...https://images.genius.com/4b253f662678407c1a66...https://images.genius.com/c9cf30826b50b5096664...https://images.genius.com/0d2b320176188d7579f9...https://images.genius.com/c9cf30826b50b5096664...https://images.genius.com/525c7ac8ba19f54cb8a5...https://images.genius.com/76967c29fe8fa254f540...https://images.genius.com/5ccb8a89b0f674962982...https://s3.amazonaws.com/rapgenius/1359924238_...https://images.rapgenius.com/0d14d86aec456da16...
header_image_urlhttps://images.genius.com/adbf27acc77a06acfa4a...https://s3.amazonaws.com/rapgenius/110537_cda_...https://images.genius.com/77f6f3871295b6069761...https://images.genius.com/ad1f59e8a03be4eb521e...https://images.genius.com/59b22781e23136c9c464...https://s3.amazonaws.com/rapgenius/view.jpghttps://images.genius.com/68c11c7f5b6b66194d77...https://images.genius.com/6f304f07098a410106d9...https://s3.amazonaws.com/rapgenius/110537_cda_...https://images.genius.com/486acf44f6ac31cc8352......https://images.genius.com/672520006c5c85e87a29...https://images.genius.com/4b253f662678407c1a66...https://images.genius.com/c9cf30826b50b5096664...https://images.genius.com/0d2b320176188d7579f9...https://images.genius.com/c9cf30826b50b5096664...https://images.genius.com/525c7ac8ba19f54cb8a5...https://images.genius.com/76967c29fe8fa254f540...https://images.genius.com/5ccb8a89b0f674962982...https://s3.amazonaws.com/rapgenius/1359924238_...https://images.rapgenius.com/0d14d86aec456da16...
id12381621031521071214977681065762105401235331274297210284524428...63102103960624695092904512196343659242913460115809114477642622
lyricsthey're gonna put me in the movies they're gon...now, for the final number, john's got a card i...sunrise doesn't last all morning a cloudburst ...when i was sitting on my piano one day a magic...you tell me that you've got everything you wan...oh ain't she sweet well see her walking down t...i give her all my love that's all i do and if ...if you ever leave me, i'll be sad and blue don...i'm ringo and i play the drums i'm paul and i ...NaN...NaNNaNNaNNaNNaNNaNNaNNaNNaNNaN
lyrics_owner_id225332509622509621549345121577250962468711549345250962389740...116371549345104344272677617912711637272677627267761163401158811
path/The-beatles-act-naturally-lyrics/The-beatles-a-little-rhyme-lyrics/The-beatles-all-things-must-pass-lyrics/The-beatles-all-together-on-the-wireless-mach.../The-beatles-and-your-bird-can-sing-lyrics/The-beatles-aint-she-sweet-lyrics/The-beatles-and-i-love-her-lyrics/The-beatles-bad-to-me-lyrics/The-beatles-beatle-greetings-lyrics/On-a-friday-everyone-needs-someone-to-hate-ly....../Radiohead-the-national-anthem-lyrics/Radiohead-these-are-my-twisted-words-lyrics/Radiohead-tinker-tailor-soldier-sailor-rich-m.../On-a-friday-to-be-a-brilliant-light-lyrics/Radiohead-true-love-waits-lyrics/Radiohead-weird-fishes-arpeggi-lyrics/On-a-friday-what-is-it-that-you-say-lyrics/Radiohead-where-i-end-and-you-begin-lyrics/Radiohead-you-and-whose-army-lyrics/Radiohead-you-never-wash-up-after-yourself-ly...
primary_artist{'url': 'https://genius.com/artists/The-beatle...{'url': 'https://genius.com/artists/The-beatle...{'url': 'https://genius.com/artists/The-beatle...{'url': 'https://genius.com/artists/The-beatle...{'url': 'https://genius.com/artists/The-beatle...{'url': 'https://genius.com/artists/The-beatle...{'url': 'https://genius.com/artists/The-beatle...{'url': 'https://genius.com/artists/The-beatle...{'url': 'https://genius.com/artists/The-beatle...{'url': 'https://genius.com/artists/On-a-frida......{'url': 'https://genius.com/artists/Radiohead'...{'url': 'https://genius.com/artists/Radiohead'...{'url': 'https://genius.com/artists/Radiohead'...{'url': 'https://genius.com/artists/On-a-frida...{'url': 'https://genius.com/artists/Radiohead'...{'url': 'https://genius.com/artists/Radiohead'...{'url': 'https://genius.com/artists/On-a-frida...{'url': 'https://genius.com/artists/Radiohead'...{'url': 'https://genius.com/artists/Radiohead'...{'url': 'https://genius.com/artists/Radiohead'...
pyongs_count2NaNNaNNaN2NaN15NaNNaNNaN...5NaN15NaN2419NaN54NaN
song_art_image_thumbnail_urlhttps://images.genius.com/adbf27acc77a06acfa4a...https://s3.amazonaws.com/rapgenius/110537_cda_...https://images.genius.com/77f6f3871295b6069761...https://images.genius.com/ad1f59e8a03be4eb521e...https://images.genius.com/59b22781e23136c9c464...https://s3.amazonaws.com/rapgenius/view.jpghttps://images.genius.com/68c11c7f5b6b66194d77...https://images.genius.com/6f304f07098a410106d9...https://s3.amazonaws.com/rapgenius/110537_cda_...https://images.genius.com/486acf44f6ac31cc8352......https://images.genius.com/672520006c5c85e87a29...https://images.genius.com/4b253f662678407c1a66...https://images.genius.com/c9cf30826b50b5096664...https://images.genius.com/0d2b320176188d7579f9...https://images.genius.com/c9cf30826b50b5096664...https://images.genius.com/525c7ac8ba19f54cb8a5...https://images.genius.com/76967c29fe8fa254f540...https://images.genius.com/5ccb8a89b0f674962982...https://s3.amazonaws.com/rapgenius/1359924238_...https://images.rapgenius.com/0d14d86aec456da16...
stats{'unreviewed_annotations': 0, 'hot': False}{'unreviewed_annotations': 0, 'hot': False}{'unreviewed_annotations': 0, 'hot': False}{'unreviewed_annotations': 0, 'hot': False}{'unreviewed_annotations': 0, 'hot': False}{'unreviewed_annotations': 0, 'hot': False}{'unreviewed_annotations': 0, 'pageviews': 554...{'unreviewed_annotations': 0, 'hot': False}{'unreviewed_annotations': 0, 'hot': False}{'unreviewed_annotations': 0, 'hot': False}...{'unreviewed_annotations': 1, 'pageviews': 231...{'unreviewed_annotations': 1, 'hot': False}{'unreviewed_annotations': 5, 'pageviews': 501...{'unreviewed_annotations': 0, 'hot': False}{'unreviewed_annotations': 0, 'pageviews': 853...{'unreviewed_annotations': 0, 'pageviews': 343...{'unreviewed_annotations': 0, 'hot': False}{'unreviewed_annotations': 2, 'pageviews': 107...{'unreviewed_annotations': 0, 'pageviews': 138...{'unreviewed_annotations': 0, 'hot': False}
titleAct NaturallyA Little RhymeAll Things Must PassAll Together on the Wireless MachineAnd Your Bird Can SingAin't She SweetAnd I Love HerBad to MeBeatle GreetingsEveryone Needs Someone To Hate...The National AnthemThese Are My Twisted WordsTinker Tailor Soldier Sailor Rich Man Poor Man...To Be A Brilliant LightTrue Love WaitsWeird Fishes / ArpeggiWhat Is It That You SayWhere I End and You BeginYou and Whose Army?You Never Wash Up After Yourself
urlhttps://genius.com/The-beatles-act-naturally-l...https://genius.com/The-beatles-a-little-rhyme-...https://genius.com/The-beatles-all-things-must...https://genius.com/The-beatles-all-together-on...https://genius.com/The-beatles-and-your-bird-c...https://genius.com/The-beatles-aint-she-sweet-...https://genius.com/The-beatles-and-i-love-her-...https://genius.com/The-beatles-bad-to-me-lyricshttps://genius.com/The-beatles-beatle-greeting...https://genius.com/On-a-friday-everyone-needs-......https://genius.com/Radiohead-the-national-anth...https://genius.com/Radiohead-these-are-my-twis...https://genius.com/Radiohead-tinker-tailor-sol...https://genius.com/On-a-friday-to-be-a-brillia...https://genius.com/Radiohead-true-love-waits-l...https://genius.com/Radiohead-weird-fishes-arpe...https://genius.com/On-a-friday-what-is-it-that...https://genius.com/Radiohead-where-i-end-and-y...https://genius.com/Radiohead-you-and-whose-arm...https://genius.com/Radiohead-you-never-wash-up...
\n", + "

17 rows × 611 columns

\n", + "
" + ], + "text/plain": [ + " 0 \\\n", + "_id 123816 \n", + "annotation_count 5 \n", + "api_path /songs/123816 \n", + "ctitle act naturally \n", + "full_title Act Naturally by The Beatles \n", + "header_image_thumbnail_url https://images.genius.com/adbf27acc77a06acfa4a... \n", + "header_image_url https://images.genius.com/adbf27acc77a06acfa4a... \n", + "id 123816 \n", + "lyrics they're gonna put me in the movies they're gon... \n", + "lyrics_owner_id 22533 \n", + "path /The-beatles-act-naturally-lyrics \n", + "primary_artist {'url': 'https://genius.com/artists/The-beatle... \n", + "pyongs_count 2 \n", + "song_art_image_thumbnail_url https://images.genius.com/adbf27acc77a06acfa4a... \n", + "stats {'unreviewed_annotations': 0, 'hot': False} \n", + "title Act Naturally \n", + "url https://genius.com/The-beatles-act-naturally-l... \n", + "\n", + " 1 \\\n", + "_id 210315 \n", + "annotation_count 1 \n", + "api_path /songs/210315 \n", + "ctitle a little rhyme \n", + "full_title A Little Rhyme by The Beatles (Ft. John & Rodn... \n", + "header_image_thumbnail_url https://s3.amazonaws.com/rapgenius/110537_cda_... \n", + "header_image_url https://s3.amazonaws.com/rapgenius/110537_cda_... \n", + "id 210315 \n", + "lyrics now, for the final number, john's got a card i... \n", + "lyrics_owner_id 250962 \n", + "path /The-beatles-a-little-rhyme-lyrics \n", + "primary_artist {'url': 'https://genius.com/artists/The-beatle... \n", + "pyongs_count NaN \n", + "song_art_image_thumbnail_url https://s3.amazonaws.com/rapgenius/110537_cda_... \n", + "stats {'unreviewed_annotations': 0, 'hot': False} \n", + "title A Little Rhyme \n", + "url https://genius.com/The-beatles-a-little-rhyme-... \n", + "\n", + " 2 \\\n", + "_id 210712 \n", + "annotation_count 2 \n", + "api_path /songs/210712 \n", + "ctitle all things must pass \n", + "full_title All Things Must Pass by The Beatles \n", + "header_image_thumbnail_url https://images.genius.com/77f6f3871295b6069761... \n", + "header_image_url https://images.genius.com/77f6f3871295b6069761... \n", + "id 210712 \n", + "lyrics sunrise doesn't last all morning a cloudburst ... \n", + "lyrics_owner_id 250962 \n", + "path /The-beatles-all-things-must-pass-lyrics \n", + "primary_artist {'url': 'https://genius.com/artists/The-beatle... \n", + "pyongs_count NaN \n", + "song_art_image_thumbnail_url https://images.genius.com/77f6f3871295b6069761... \n", + "stats {'unreviewed_annotations': 0, 'hot': False} \n", + "title All Things Must Pass \n", + "url https://genius.com/The-beatles-all-things-must... \n", + "\n", + " 3 \\\n", + "_id 1497768 \n", + "annotation_count 1 \n", + "api_path /songs/1497768 \n", + "ctitle all together on the wireless machine \n", + "full_title All Together on the Wireless Machine by The Be... \n", + "header_image_thumbnail_url https://images.genius.com/ad1f59e8a03be4eb521e... \n", + "header_image_url https://images.genius.com/ad1f59e8a03be4eb521e... \n", + "id 1497768 \n", + "lyrics when i was sitting on my piano one day a magic... \n", + "lyrics_owner_id 1549345 \n", + "path /The-beatles-all-together-on-the-wireless-mach... \n", + "primary_artist {'url': 'https://genius.com/artists/The-beatle... \n", + "pyongs_count NaN \n", + "song_art_image_thumbnail_url https://images.genius.com/ad1f59e8a03be4eb521e... \n", + "stats {'unreviewed_annotations': 0, 'hot': False} \n", + "title All Together on the Wireless Machine \n", + "url https://genius.com/The-beatles-all-together-on... \n", + "\n", + " 4 \\\n", + "_id 106576 \n", + "annotation_count 12 \n", + "api_path /songs/106576 \n", + "ctitle and your bird can sing \n", + "full_title And Your Bird Can Sing by The Beatles \n", + "header_image_thumbnail_url https://images.genius.com/59b22781e23136c9c464... \n", + "header_image_url https://images.genius.com/59b22781e23136c9c464... \n", + "id 106576 \n", + "lyrics you tell me that you've got everything you wan... \n", + "lyrics_owner_id 121577 \n", + "path /The-beatles-and-your-bird-can-sing-lyrics \n", + "primary_artist {'url': 'https://genius.com/artists/The-beatle... \n", + "pyongs_count 2 \n", + "song_art_image_thumbnail_url https://images.genius.com/59b22781e23136c9c464... \n", + "stats {'unreviewed_annotations': 0, 'hot': False} \n", + "title And Your Bird Can Sing \n", + "url https://genius.com/The-beatles-and-your-bird-c... \n", + "\n", + " 5 \\\n", + "_id 210540 \n", + "annotation_count 0 \n", + "api_path /songs/210540 \n", + "ctitle aint she sweet \n", + "full_title Ain't She Sweet by The Beatles \n", + "header_image_thumbnail_url https://s3.amazonaws.com/rapgenius/view.jpg \n", + "header_image_url https://s3.amazonaws.com/rapgenius/view.jpg \n", + "id 210540 \n", + "lyrics oh ain't she sweet well see her walking down t... \n", + "lyrics_owner_id 250962 \n", + "path /The-beatles-aint-she-sweet-lyrics \n", + "primary_artist {'url': 'https://genius.com/artists/The-beatle... \n", + "pyongs_count NaN \n", + "song_art_image_thumbnail_url https://s3.amazonaws.com/rapgenius/view.jpg \n", + "stats {'unreviewed_annotations': 0, 'hot': False} \n", + "title Ain't She Sweet \n", + "url https://genius.com/The-beatles-aint-she-sweet-... \n", + "\n", + " 6 \\\n", + "_id 123533 \n", + "annotation_count 5 \n", + "api_path /songs/123533 \n", + "ctitle and i love her \n", + "full_title And I Love Her by The Beatles \n", + "header_image_thumbnail_url https://images.genius.com/68c11c7f5b6b66194d77... \n", + "header_image_url https://images.genius.com/68c11c7f5b6b66194d77... \n", + "id 123533 \n", + "lyrics i give her all my love that's all i do and if ... \n", + "lyrics_owner_id 46871 \n", + "path /The-beatles-and-i-love-her-lyrics \n", + "primary_artist {'url': 'https://genius.com/artists/The-beatle... \n", + "pyongs_count 15 \n", + "song_art_image_thumbnail_url https://images.genius.com/68c11c7f5b6b66194d77... \n", + "stats {'unreviewed_annotations': 0, 'pageviews': 554... \n", + "title And I Love Her \n", + "url https://genius.com/The-beatles-and-i-love-her-... \n", + "\n", + " 7 \\\n", + "_id 1274297 \n", + "annotation_count 1 \n", + "api_path /songs/1274297 \n", + "ctitle bad to me \n", + "full_title Bad to Me by The Beatles \n", + "header_image_thumbnail_url https://images.genius.com/6f304f07098a410106d9... \n", + "header_image_url https://images.genius.com/6f304f07098a410106d9... \n", + "id 1274297 \n", + "lyrics if you ever leave me, i'll be sad and blue don... \n", + "lyrics_owner_id 1549345 \n", + "path /The-beatles-bad-to-me-lyrics \n", + "primary_artist {'url': 'https://genius.com/artists/The-beatle... \n", + "pyongs_count NaN \n", + "song_art_image_thumbnail_url https://images.genius.com/6f304f07098a410106d9... \n", + "stats {'unreviewed_annotations': 0, 'hot': False} \n", + "title Bad to Me \n", + "url https://genius.com/The-beatles-bad-to-me-lyrics \n", + "\n", + " 8 \\\n", + "_id 210284 \n", + "annotation_count 1 \n", + "api_path /songs/210284 \n", + "ctitle beatle greetings \n", + "full_title Beatle Greetings by The Beatles (Ft. George Ha... \n", + "header_image_thumbnail_url https://s3.amazonaws.com/rapgenius/110537_cda_... \n", + "header_image_url https://s3.amazonaws.com/rapgenius/110537_cda_... \n", + "id 210284 \n", + "lyrics i'm ringo and i play the drums i'm paul and i ... \n", + "lyrics_owner_id 250962 \n", + "path /The-beatles-beatle-greetings-lyrics \n", + "primary_artist {'url': 'https://genius.com/artists/The-beatle... \n", + "pyongs_count NaN \n", + "song_art_image_thumbnail_url https://s3.amazonaws.com/rapgenius/110537_cda_... \n", + "stats {'unreviewed_annotations': 0, 'hot': False} \n", + "title Beatle Greetings \n", + "url https://genius.com/The-beatles-beatle-greeting... \n", + "\n", + " 9 \\\n", + "_id 524428 \n", + "annotation_count 1 \n", + "api_path /songs/524428 \n", + "ctitle NaN \n", + "full_title Everyone Needs Someone To Hate by On A Friday ... \n", + "header_image_thumbnail_url https://images.genius.com/486acf44f6ac31cc8352... \n", + "header_image_url https://images.genius.com/486acf44f6ac31cc8352... \n", + "id 524428 \n", + "lyrics NaN \n", + "lyrics_owner_id 389740 \n", + "path /On-a-friday-everyone-needs-someone-to-hate-ly... \n", + "primary_artist {'url': 'https://genius.com/artists/On-a-frida... \n", + "pyongs_count NaN \n", + "song_art_image_thumbnail_url https://images.genius.com/486acf44f6ac31cc8352... \n", + "stats {'unreviewed_annotations': 0, 'hot': False} \n", + "title Everyone Needs Someone To Hate \n", + "url https://genius.com/On-a-friday-everyone-needs-... \n", + "\n", + " ... \\\n", + "_id ... \n", + "annotation_count ... \n", + "api_path ... \n", + "ctitle ... \n", + "full_title ... \n", + "header_image_thumbnail_url ... \n", + "header_image_url ... \n", + "id ... \n", + "lyrics ... \n", + "lyrics_owner_id ... \n", + "path ... \n", + "primary_artist ... \n", + "pyongs_count ... \n", + "song_art_image_thumbnail_url ... \n", + "stats ... \n", + "title ... \n", + "url ... \n", + "\n", + " 601 \\\n", + "_id 63102 \n", + "annotation_count 5 \n", + "api_path /songs/63102 \n", + "ctitle NaN \n", + "full_title The National Anthem by Radiohead \n", + "header_image_thumbnail_url https://images.genius.com/672520006c5c85e87a29... \n", + "header_image_url https://images.genius.com/672520006c5c85e87a29... \n", + "id 63102 \n", + "lyrics NaN \n", + "lyrics_owner_id 11637 \n", + "path /Radiohead-the-national-anthem-lyrics \n", + "primary_artist {'url': 'https://genius.com/artists/Radiohead'... \n", + "pyongs_count 5 \n", + "song_art_image_thumbnail_url https://images.genius.com/672520006c5c85e87a29... \n", + "stats {'unreviewed_annotations': 1, 'pageviews': 231... \n", + "title The National Anthem \n", + "url https://genius.com/Radiohead-the-national-anth... \n", + "\n", + " 602 \\\n", + "_id 1039606 \n", + "annotation_count 1 \n", + "api_path /songs/1039606 \n", + "ctitle NaN \n", + "full_title These Are My Twisted Words by Radiohead \n", + "header_image_thumbnail_url https://images.genius.com/4b253f662678407c1a66... \n", + "header_image_url https://images.genius.com/4b253f662678407c1a66... \n", + "id 1039606 \n", + "lyrics NaN \n", + "lyrics_owner_id 1549345 \n", + "path /Radiohead-these-are-my-twisted-words-lyrics \n", + "primary_artist {'url': 'https://genius.com/artists/Radiohead'... \n", + "pyongs_count NaN \n", + "song_art_image_thumbnail_url https://images.genius.com/4b253f662678407c1a66... \n", + "stats {'unreviewed_annotations': 1, 'hot': False} \n", + "title These Are My Twisted Words \n", + "url https://genius.com/Radiohead-these-are-my-twis... \n", + "\n", + " 603 \\\n", + "_id 2469509 \n", + "annotation_count 8 \n", + "api_path /songs/2469509 \n", + "ctitle NaN \n", + "full_title Tinker Tailor Soldier Sailor Rich Man Poor Man... \n", + "header_image_thumbnail_url https://images.genius.com/c9cf30826b50b5096664... \n", + "header_image_url https://images.genius.com/c9cf30826b50b5096664... \n", + "id 2469509 \n", + "lyrics NaN \n", + "lyrics_owner_id 104344 \n", + "path /Radiohead-tinker-tailor-soldier-sailor-rich-m... \n", + "primary_artist {'url': 'https://genius.com/artists/Radiohead'... \n", + "pyongs_count 15 \n", + "song_art_image_thumbnail_url https://images.genius.com/c9cf30826b50b5096664... \n", + "stats {'unreviewed_annotations': 5, 'pageviews': 501... \n", + "title Tinker Tailor Soldier Sailor Rich Man Poor Man... \n", + "url https://genius.com/Radiohead-tinker-tailor-sol... \n", + "\n", + " 604 \\\n", + "_id 2904512 \n", + "annotation_count 0 \n", + "api_path /songs/2904512 \n", + "ctitle NaN \n", + "full_title To Be A Brilliant Light by On A Friday (Ft. Ra... \n", + "header_image_thumbnail_url https://images.genius.com/0d2b320176188d7579f9... \n", + "header_image_url https://images.genius.com/0d2b320176188d7579f9... \n", + "id 2904512 \n", + "lyrics NaN \n", + "lyrics_owner_id 2726776 \n", + "path /On-a-friday-to-be-a-brilliant-light-lyrics \n", + "primary_artist {'url': 'https://genius.com/artists/On-a-frida... \n", + "pyongs_count NaN \n", + "song_art_image_thumbnail_url https://images.genius.com/0d2b320176188d7579f9... \n", + "stats {'unreviewed_annotations': 0, 'hot': False} \n", + "title To Be A Brilliant Light \n", + "url https://genius.com/On-a-friday-to-be-a-brillia... \n", + "\n", + " 605 \\\n", + "_id 196343 \n", + "annotation_count 9 \n", + "api_path /songs/196343 \n", + "ctitle NaN \n", + "full_title True Love Waits by Radiohead \n", + "header_image_thumbnail_url https://images.genius.com/c9cf30826b50b5096664... \n", + "header_image_url https://images.genius.com/c9cf30826b50b5096664... \n", + "id 196343 \n", + "lyrics NaN \n", + "lyrics_owner_id 179127 \n", + "path /Radiohead-true-love-waits-lyrics \n", + "primary_artist {'url': 'https://genius.com/artists/Radiohead'... \n", + "pyongs_count 24 \n", + "song_art_image_thumbnail_url https://images.genius.com/c9cf30826b50b5096664... \n", + "stats {'unreviewed_annotations': 0, 'pageviews': 853... \n", + "title True Love Waits \n", + "url https://genius.com/Radiohead-true-love-waits-l... \n", + "\n", + " 606 \\\n", + "_id 65924 \n", + "annotation_count 8 \n", + "api_path /songs/65924 \n", + "ctitle NaN \n", + "full_title Weird Fishes / Arpeggi by Radiohead \n", + "header_image_thumbnail_url https://images.genius.com/525c7ac8ba19f54cb8a5... \n", + "header_image_url https://images.genius.com/525c7ac8ba19f54cb8a5... \n", + "id 65924 \n", + "lyrics NaN \n", + "lyrics_owner_id 11637 \n", + "path /Radiohead-weird-fishes-arpeggi-lyrics \n", + "primary_artist {'url': 'https://genius.com/artists/Radiohead'... \n", + "pyongs_count 19 \n", + "song_art_image_thumbnail_url https://images.genius.com/525c7ac8ba19f54cb8a5... \n", + "stats {'unreviewed_annotations': 0, 'pageviews': 343... \n", + "title Weird Fishes / Arpeggi \n", + "url https://genius.com/Radiohead-weird-fishes-arpe... \n", + "\n", + " 607 \\\n", + "_id 2913460 \n", + "annotation_count 0 \n", + "api_path /songs/2913460 \n", + "ctitle NaN \n", + "full_title What Is It That You Say by On A Friday (Ft. Ra... \n", + "header_image_thumbnail_url https://images.genius.com/76967c29fe8fa254f540... \n", + "header_image_url https://images.genius.com/76967c29fe8fa254f540... \n", + "id 2913460 \n", + "lyrics NaN \n", + "lyrics_owner_id 2726776 \n", + "path /On-a-friday-what-is-it-that-you-say-lyrics \n", + "primary_artist {'url': 'https://genius.com/artists/On-a-frida... \n", + "pyongs_count NaN \n", + "song_art_image_thumbnail_url https://images.genius.com/76967c29fe8fa254f540... \n", + "stats {'unreviewed_annotations': 0, 'hot': False} \n", + "title What Is It That You Say \n", + "url https://genius.com/On-a-friday-what-is-it-that... \n", + "\n", + " 608 \\\n", + "_id 115809 \n", + "annotation_count 7 \n", + "api_path /songs/115809 \n", + "ctitle NaN \n", + "full_title Where I End and You Begin by Radiohead \n", + "header_image_thumbnail_url https://images.genius.com/5ccb8a89b0f674962982... \n", + "header_image_url https://images.genius.com/5ccb8a89b0f674962982... \n", + "id 115809 \n", + "lyrics NaN \n", + "lyrics_owner_id 2726776 \n", + "path /Radiohead-where-i-end-and-you-begin-lyrics \n", + "primary_artist {'url': 'https://genius.com/artists/Radiohead'... \n", + "pyongs_count 5 \n", + "song_art_image_thumbnail_url https://images.genius.com/5ccb8a89b0f674962982... \n", + "stats {'unreviewed_annotations': 2, 'pageviews': 107... \n", + "title Where I End and You Begin \n", + "url https://genius.com/Radiohead-where-i-end-and-y... \n", + "\n", + " 609 \\\n", + "_id 114477 \n", + "annotation_count 4 \n", + "api_path /songs/114477 \n", + "ctitle NaN \n", + "full_title You and Whose Army? by Radiohead \n", + "header_image_thumbnail_url https://s3.amazonaws.com/rapgenius/1359924238_... \n", + "header_image_url https://s3.amazonaws.com/rapgenius/1359924238_... \n", + "id 114477 \n", + "lyrics NaN \n", + "lyrics_owner_id 116340 \n", + "path /Radiohead-you-and-whose-army-lyrics \n", + "primary_artist {'url': 'https://genius.com/artists/Radiohead'... \n", + "pyongs_count 4 \n", + "song_art_image_thumbnail_url https://s3.amazonaws.com/rapgenius/1359924238_... \n", + "stats {'unreviewed_annotations': 0, 'pageviews': 138... \n", + "title You and Whose Army? \n", + "url https://genius.com/Radiohead-you-and-whose-arm... \n", + "\n", + " 610 \n", + "_id 642622 \n", + "annotation_count 1 \n", + "api_path /songs/642622 \n", + "ctitle NaN \n", + "full_title You Never Wash Up After Yourself by Radiohead \n", + "header_image_thumbnail_url https://images.rapgenius.com/0d14d86aec456da16... \n", + "header_image_url https://images.rapgenius.com/0d14d86aec456da16... \n", + "id 642622 \n", + "lyrics NaN \n", + "lyrics_owner_id 1158811 \n", + "path /Radiohead-you-never-wash-up-after-yourself-ly... \n", + "primary_artist {'url': 'https://genius.com/artists/Radiohead'... \n", + "pyongs_count NaN \n", + "song_art_image_thumbnail_url https://images.rapgenius.com/0d14d86aec456da16... \n", + "stats {'unreviewed_annotations': 0, 'hot': False} \n", + "title You Never Wash Up After Yourself \n", + "url https://genius.com/Radiohead-you-never-wash-up... \n", + "\n", + "[17 rows x 611 columns]" + ] + }, + "execution_count": 106, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "gsongs = pd.DataFrame(list(genius_tracks.find()))\n", + "gsongs.T" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Now we can get the lyrics for each song. We tidy it up as we go, to strip out formatting and the like.\n", + "\n", + "Note the use of [Beautiful Soup](https://www.crummy.com/software/BeautifulSoup/bs4/doc/) to strip out the HTML from the lyrics." + ] + }, + { + "cell_type": "code", + "execution_count": 116, + "metadata": { + "collapsed": false + }, + "outputs": [], + "source": [ + "def genius_lyrics(song_url):\n", + " headers = {'Accept': 'application/json',\n", + " 'Authorization': 'Bearer ' + config['genius']['token'],\n", + " 'User-Agent': 'curl/7.9.8 (i686-pc-linux-gnu) libcurl 7.9.8 (OpenSSL 0.9.6b) (ipv6 enabled)'}\n", + " request = urllib.request.Request(song_url, headers=headers, method='GET')\n", + " html_doc = urllib.request.urlopen(request)\n", + " soup = BeautifulSoup(html_doc, 'html.parser')\n", + " lyrics = soup.find('lyrics').get_text()\n", + " l2 = re.sub('\\[[^\\]]*\\]', '', lyrics)\n", + " l3 = re.sub('\\[|\\]', '', l2)\n", + " l4 = re.sub('(\\s)+', ' ', l3)\n", + " return l4.strip().lower(), lyrics" + ] + }, + { + "cell_type": "code", + "execution_count": 153, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/plain": [ + "(\"oh ain't she sweet well see her walking down that street yes i ask you very confidentially ain't she sweet? oh ain't she nice well look her over once or twice yes i ask you very confidentially ain't she nice? just cast an eye in her direction oh me oh my ain't that perfection? oh i repeat well don't you think that's kind of neat? yes i ask you very confidentially ain't she sweet? oh ain't she sweet well see her walking down that street well i ask you very confidentially ain't she sweet? well i ask you very confidentially ain't she sweet?\",\n", + " \"\\n\\n[Chorus 1]]\\nOh ain't she sweet\\nWell see her walking down that street\\nYes I ask you very confidentially\\nAin't she sweet?\\n\\n[Chorus 2]\\nOh ain't she nice\\nWell look her over once or twice\\nYes I ask you very confidentially\\nAin't she nice?\\n\\n[Chorus 3]\\nJust cast an eye\\nIn her direction\\nOh me oh my\\nAin't that perfection?\\n\\n[Chorus 4]\\nOh I repeat\\nWell don't you think that's kind of neat?\\nYes I ask you very confidentially\\nAin't she sweet?\\n\\n[Chorus 1]\\n\\n[Chorus 2]\\n\\n[Chorus 3]\\n\\n[Chorus 4]\\n\\n[Chorus 1]\\nOh ain't she sweet\\nWell see her walking down that street\\nWell I ask you very confidentially\\nAin't she sweet?\\nWell I ask you very confidentially\\nAin't she sweet?\\n\\n\")" + ] + }, + "execution_count": 153, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "assl = genius_lyrics('https://genius.com/The-beatles-aint-she-sweet-lyrics')\n", + "assl" + ] + }, + { + "cell_type": "code", + "execution_count": 259, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/plain": [ + "{'_id': 210315,\n", + " 'lyrics': 'now, for the final number, john\\'s got a card in his hand with a little rhyme on it. what is it? it\\'s from the form up a third at hemel hempstead oh! it says, \"dear george, john, ringo, paul, here\\'s hoping that you\\'ll please us all a beauty song and swinging voice, we leave it up to you, the choice we think you\\'re fab and really cool, so brighten up our lads at school\" dig this, for here\\'s paul, whistling \"clarabella\"',\n", + " 'original_lyrics': '\\n\\n[Speech]\\n\\n[Rodney Burke] Now, for the final number, John\\'s got a card in his hand with a little rhyme on it. What is it?\\n[John] It\\'s from the form up a third at Hemel Hempstead\\n[Rodney] Oh!\\n[John] It says, \"Dear George, John, Ringo, Paul, here\\'s hoping that you\\'ll please us all\\nA beauty song and swinging voice, we leave it up to you, the choice\\nWe think you\\'re fab and really cool, so brighten up our lads at school\"\\nDig this, for here\\'s Paul, whistling \"Clarabella\"\\n\\n',\n", + " 'title': 'A Little Rhyme'}" + ] + }, + "execution_count": 259, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "for gsong in genius_tracks.find({}, ['url']):\n", + " lyrics, original_lyrics = genius_lyrics(gsong['url'])\n", + " genius_tracks.update_one({'_id': gsong['_id']}, \n", + " {'$set': {'lyrics': lyrics, 'original_lyrics': original_lyrics}})\n", + "genius_tracks.find_one({}, ['title', 'lyrics', 'original_lyrics'])" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Matching datasets\n", + "Now it's time to match up the datasets. First, we simplify the titles of the tracks, to sidestep differences in punctuation, capitalisation, and the like.\n", + "\n", + "* [Top](#top)" + ] + }, + { + "cell_type": "code", + "execution_count": 129, + "metadata": { + "collapsed": true + }, + "outputs": [], + "source": [ + "def canonical_name(text):\n", + " t1 = re.sub(' - .*', '', text) # Strip the \" - Remastered 2015\" suffix\n", + " t2 = re.sub('[^\\w\\s]', '', t1) # strip all characters except letters, numbers, and whitespace\n", + " t3 = re.sub('\\s+', ' ', t2) # collapse whitespace\n", + " return t3.lower() # convert to lowercase and return" + ] + }, + { + "cell_type": "code", + "execution_count": 130, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/plain": [ + "'a hard days night'" + ] + }, + "execution_count": 130, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "canonical_name(\"A Hard Day's Night - Live / Remastered\")" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Add the simplified title to each track in the Spotify and Genius collections." + ] + }, + { + "cell_type": "code", + "execution_count": 131, + "metadata": { + "collapsed": true + }, + "outputs": [], + "source": [ + "for t in tracks.find():\n", + " tracks.update_one({'_id': t['_id']}, {'$set': {'ctitle': canonical_name(t['name'])}})\n", + "for t in genius_tracks.find():\n", + " genius_tracks.update_one({'_id': t['_id']}, {'$set': {'ctitle': canonical_name(t['title'])}})" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Now to see what the differences are. Find the tracks that are in both collections, and tracks that are in only one." + ] + }, + { + "cell_type": "code", + "execution_count": 141, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/plain": [ + "(305, 294, 42)" + ] + }, + "execution_count": 141, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "in_both = set(g['ctitle'] for g in genius_tracks.find({}, ['ctitle']) if tracks.find({'ctitle': g['ctitle']}).count())\n", + "genius_only = set(g['ctitle'] for g in genius_tracks.find({}, ['ctitle']) if not tracks.find({'ctitle': g['ctitle']}).count())\n", + "spotify_only = set(s['ctitle'] for s in tracks.find({}, ['ctitle']) if not genius_tracks.find({'ctitle': s['ctitle']}).count())\n", + "len(in_both), len(genius_only), len(spotify_only)" + ] + }, + { + "cell_type": "code", + "execution_count": 134, + "metadata": { + "collapsed": false, + "scrolled": true + }, + "outputs": [ + { + "data": { + "text/plain": [ + "{'2 2 5 live at earls court',\n", + " 'a punch up at a wedding',\n", + " 'bloom blawan rmx',\n", + " 'bloom harmonic 313 rmx',\n", + " 'bloom jamie xx rework',\n", + " 'bloom mark pritchard rmx',\n", + " 'bloom objekt rmx',\n", + " 'bullet proof i wish i was',\n", + " 'codex illum sphere',\n", + " 'dollars cents',\n", + " 'dollars cents live',\n", + " 'everything in its right place live in france',\n", + " 'feral lone rmx',\n", + " 'fog again live',\n", + " 'give up the ghost brokenchord rmx',\n", + " 'give up the ghost thriller houseghost remix',\n", + " 'good evening mrs magpie modeselektor rmx',\n", + " 'i might be wrong live',\n", + " 'i will los angeles version',\n", + " 'idioteque live in oxford',\n", + " 'kansas city heyheyheyhey',\n", + " 'like spinning plates live',\n", + " 'little by little caribou rmx',\n", + " 'little by little shed',\n", + " 'lotus flower jacques greene rmx',\n", + " 'lotus flower sbtrkt rmx',\n", + " 'march of the meanies',\n", + " 'morning bell live in oxford',\n", + " 'morning mr magpie nathan fake rmx',\n", + " 'morning mr magpie pearson sound scavenger rmx',\n", + " 'packt like sardines in a crushed tin box',\n", + " 'pepperland',\n", + " 'pepperland laid waste',\n", + " 'remyxomatosis cristian vogel rmx',\n", + " 'revolution 1',\n", + " 'sea of holes',\n", + " 'sea of monsters',\n", + " 'sea of time',\n", + " 'separator anstam rmx',\n", + " 'separator four tet rmx',\n", + " 'skttrbrain four tet remix',\n", + " 'the national anthem live in france',\n", + " 'tkol altrice rmx',\n", + " 'true love waits live in oslo',\n", + " 'untitled',\n", + " 'when im sixty four'}" + ] + }, + "execution_count": 134, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "spotify_only" + ] + }, + { + "cell_type": "code", + "execution_count": 135, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/plain": [ + "{'1822',\n", + " 'a little rhyme',\n", + " 'a moon shaped pool tracklist album cover',\n", + " 'a picture of you',\n", + " 'a punchup at a wedding',\n", + " 'a reminder',\n", + " 'a shot of rhythm and blues',\n", + " 'across the universe wildlife version',\n", + " 'aint she sweet',\n", + " 'all things must pass',\n", + " 'all together on the wireless machine',\n", + " 'another beatles christmas record',\n", + " 'bad boy',\n", + " 'bad to me',\n", + " 'banana co',\n", + " 'beatle greetings',\n", + " 'beatles movie medley',\n", + " 'beautiful dreamer',\n", + " 'bebopalula',\n", + " 'because i know you love me so',\n", + " 'being for the benefit of mr kite take 7',\n", + " 'being for the benefit of mr kite takes 1 2',\n", + " 'being for the benefit of mr kitei want you shes so heavyhelter skelter',\n", + " 'besame mucho',\n", + " 'big boots',\n", + " 'big ideas',\n", + " 'bishops robes',\n", + " 'bitches talkin',\n", + " 'blackbirdyesterday',\n", + " 'blue moon of kentucky',\n", + " 'blue suede shoes',\n", + " 'bullet proofi wish i was',\n", + " 'burning bush',\n", + " 'can you take me back',\n", + " 'carol',\n", + " 'ceremony',\n", + " 'child of nature',\n", + " 'christmas time is here again',\n", + " 'cinnamon girl',\n", + " 'clarabella',\n", + " 'climbing up a bloody great hill',\n", + " 'coke babies',\n", + " 'come and get it',\n", + " 'come togetherdear prudence',\n", + " 'commonwealth',\n", + " 'crinsk dee night',\n", + " 'cry for a shadow',\n", + " 'crying waiting hoping',\n", + " 'cut a hole',\n", + " 'cuttooth',\n", + " 'dear wack',\n", + " 'dollars and cents',\n", + " 'dont ever change',\n", + " 'dont let me down',\n", + " 'down in eastern australia',\n", + " 'dream baby',\n", + " 'drive my carthe wordwhat youre doing',\n", + " 'eds scary song',\n", + " 'egyptian song',\n", + " 'eleanor rigbyjulia transition',\n", + " 'everybody lies through their teeth',\n", + " 'everyone needs someone to hate',\n", + " 'faithless the wonderboy',\n", + " 'falling in love again',\n", + " 'fasttrack',\n", + " 'final show',\n", + " 'fog',\n", + " 'follow me around',\n", + " 'four guys',\n", + " 'free as a bird',\n", + " 'from fluff to you',\n", + " 'from us to you',\n", + " 'get back aka no pakistanis',\n", + " 'give it up',\n", + " 'give peace a chance',\n", + " 'glad all over',\n", + " 'glass onion love remix',\n", + " 'gnik nus',\n", + " 'goodbye',\n", + " 'hallelujah i love her so',\n", + " 'happy song',\n", + " 'harry patch in memory of',\n", + " 'have a banana',\n", + " 'have a banana speech',\n", + " 'hear me lord harrison',\n", + " 'hello little girl',\n", + " 'here comes the sunthe inner light transition',\n", + " 'how can you be sure',\n", + " 'how do you do it',\n", + " 'how i made my millions',\n", + " 'i call your name',\n", + " 'i forgot to remember to forget',\n", + " 'i froze up',\n", + " 'i got a woman',\n", + " 'i got to find my baby',\n", + " 'i just dont understand',\n", + " 'i promise',\n", + " 'i want none of this',\n", + " 'i want to know',\n", + " 'if you love me baby',\n", + " 'if youve got trouble',\n", + " 'ill be on my way',\n", + " 'ill get you',\n", + " 'ill wear it proudly',\n", + " 'ill wind',\n", + " 'im coming up',\n", + " 'im down',\n", + " 'im gonna sit right down and cry over you',\n", + " 'im talking about you',\n", + " 'in spite of all the danger',\n", + " 'india',\n", + " 'india rubber',\n", + " 'inside my head',\n", + " 'its for you',\n", + " 'james bond theme',\n", + " 'jazz piano song',\n", + " 'jerusalem',\n", + " 'jingle bells',\n", + " 'john lennon vs bill oreilly',\n", + " 'johnny b goode',\n", + " 'junk',\n", + " 'just a rumour',\n", + " 'just a rumour speech',\n", + " 'kansas city',\n", + " 'keep strong',\n", + " 'keep your hands off my baby',\n", + " 'kid a tracklist album cover',\n", + " 'killer cars',\n", + " 'komm gib mir deine hand',\n", + " 'ladytron',\n", + " 'leave my kitten alone',\n", + " 'lend me your comb',\n", + " 'lets dance',\n", + " 'lewis mistreated',\n", + " 'lift',\n", + " 'like dreamers do',\n", + " 'lonesome tears in my eyes',\n", + " 'love',\n", + " 'love of the loved',\n", + " 'love these goon shows',\n", + " 'lozenge of love',\n", + " 'lucille',\n", + " 'lull',\n", + " 'mailman bring me no more blues',\n", + " 'manowar',\n", + " 'mantua',\n", + " 'maquiladora',\n", + " 'matchbox',\n", + " 'medley kansas cityhey hey hey hey',\n", + " 'medley rip it up shake rattle and roll blue suede shoes',\n", + " 'meeting in the aisle',\n", + " 'melatonin',\n", + " 'memphis',\n", + " 'memphis tennessee',\n", + " 'million dollar question',\n", + " 'missing links bootleg',\n", + " 'molasses',\n", + " 'moonlight',\n", + " 'moonlight bay',\n", + " 'movie medley',\n", + " 'mr b',\n", + " 'my bonnie',\n", + " 'my bonnie english intro',\n", + " 'my bonnie german intro',\n", + " 'no reply demo',\n", + " 'nobody does it better',\n", + " 'nobodys child',\n", + " 'not guilty',\n", + " 'nothin shakin',\n", + " 'nothin shakin but the leaves on the trees',\n", + " 'nothing touches me',\n", + " 'old brown shoe',\n", + " 'on the beach',\n", + " 'one and one is two',\n", + " 'ooh my arms',\n", + " 'ooh my arms speech',\n", + " 'ooh my soul',\n", + " 'open pick',\n", + " 'packt like sardines in a crushd tin box',\n", + " 'palo alto',\n", + " 'pantomime everywhere its christmas',\n", + " 'pearly',\n", + " 'pedro the fisherman',\n", + " 'permanent daylight',\n", + " 'phillipa chicken',\n", + " 'polyethylene parts 1 2',\n", + " 'pop is dead',\n", + " 'punchdrunk lovesick singalong',\n", + " 'rain',\n", + " 'ready teddy',\n", + " 'real love',\n", + " 'reminiscing',\n", + " 'revolution',\n", + " 'revolution i',\n", + " 'rhinestone cowboy',\n", + " 'riding on a bus',\n", + " 'rip it up medley',\n", + " 'ruby baby',\n", + " 'saints',\n", + " 'saints when the saints go marching in',\n", + " 'searchin',\n", + " 'september in the rain',\n", + " 'set fire to that lot',\n", + " 'set fire to that lot speech',\n", + " 'sgt peppers lonely hearts club band band documentary multimedia',\n", + " 'sgt peppers lonely hearts club band reprise',\n", + " 'sha la la la la',\n", + " 'shake rattle and roll',\n", + " 'shout',\n", + " 'sie liebt dich',\n", + " 'sing a song for you',\n", + " 'sinking ship',\n", + " 'slow down',\n", + " 'so how come no one loves me',\n", + " 'soldier of love',\n", + " 'some other guy',\n", + " 'somebody else',\n", + " 'someone else',\n", + " 'something with blue jay way transition',\n", + " 'somewhere',\n", + " 'sour milk sea',\n", + " 'spectre',\n", + " 'staircase',\n", + " 'stand by me',\n", + " 'step inside love',\n", + " 'step inside love los paranoias',\n", + " 'stranger in my arms',\n", + " 'strawberry fields forever take 1',\n", + " 'strawberry fields forever take 7 edit piece',\n", + " 'stupid car',\n", + " 'supercollider',\n", + " 'sure to fall',\n", + " 'sure to fall in love with you',\n", + " 'suzy parker',\n", + " 'swanee river',\n", + " 'sweet georgia brown',\n", + " 'sweet little sixteen',\n", + " 'take good care of my baby',\n", + " 'talk show host',\n", + " 'teddy boy',\n", + " 'tell me why ep',\n", + " 'thank you girl',\n", + " 'that means a lot',\n", + " 'thatll be the day',\n", + " 'thats alright mama',\n", + " 'the amazing sounds of orgy',\n", + " 'the beatles 1968 christmas record',\n", + " 'the beatles christmas record',\n", + " 'the beatles seventh christmas record',\n", + " 'the beatles third christmas record',\n", + " 'the butcher',\n", + " 'the daily mail',\n", + " 'the fool on the hill demo',\n", + " 'the fool on the hill take 4',\n", + " 'the happy rishikesh song',\n", + " 'the hippy hippy shake',\n", + " 'the honeymoon song',\n", + " 'the inner light',\n", + " 'the new generation',\n", + " 'the sheik of araby',\n", + " 'the thief',\n", + " 'the trickster',\n", + " 'these are my twisted words',\n", + " 'this boy',\n", + " 'three cool cats',\n", + " 'to be a brilliant light',\n", + " 'to know her is to love her',\n", + " 'too much monkey business',\n", + " 'transatlantic drawl',\n", + " 'union city blue',\n", + " 'untogether',\n", + " 'upside down',\n", + " 'watching rainbows',\n", + " 'what goes on girl',\n", + " 'what is it that you say',\n", + " 'what is that you say',\n", + " 'whatd i say',\n", + " 'whats the new mary jane',\n", + " 'when im sixtyfour',\n", + " 'when the saints go marchin in',\n", + " 'why',\n", + " 'wicked child',\n", + " 'wish you were here',\n", + " 'within you without youtomorrow never knows',\n", + " 'wonderwall',\n", + " 'words of love ep',\n", + " 'worrywort',\n", + " 'ya ya',\n", + " 'yes i am',\n", + " 'yes it is',\n", + " 'you know my name',\n", + " 'you know my name look up the number',\n", + " 'you know what to do',\n", + " 'you never wash up after yourself',\n", + " 'youll be mine',\n", + " 'young blood',\n", + " 'youve got a hold on me',\n", + " 'yove got to hide your love away'}" + ] + }, + "execution_count": 135, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "genius_only" + ] + }, + { + "cell_type": "markdown", + "metadata": { + "collapsed": true + }, + "source": [ + "Manually fix a couple of errors." + ] + }, + { + "cell_type": "code", + "execution_count": 453, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/plain": [ + "" + ] + }, + "execution_count": 453, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "genius_tracks.update_many({'ctitle': 'revolution i'}, \n", + " {'$set': {'ctitle': 'revolution 1'}})\n", + "genius_tracks.update_many({'ctitle': 'when im sixtyfour'}, \n", + " {'$set': {'ctitle': 'when im sixty four'}})\n", + "genius_tracks.update_many({'ctitle': 'packt like sardines in a crushd tin box'}, \n", + " {'$set': {'ctitle': 'packt like sardines in a crushed tin box'}})\n", + "genius_tracks.update_many({'ctitle': 'a punchup at a wedding'}, \n", + " {'$set': {'ctitle': 'a punch up at a wedding'}})\n", + "genius_tracks.update_many({'ctitle': 'dollars cents'}, \n", + " {'$set': {'ctitle': 'dollars and cents'}})\n", + "genius_tracks.update_many({'ctitle': 'bullet proofi wish i was'}, \n", + " {'$set': {'ctitle': 'bullet proof i wish i was'}})" + ] + }, + { + "cell_type": "code", + "execution_count": 454, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/plain": [ + "(306, 293, 41)" + ] + }, + "execution_count": 454, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "in_both = set(g['ctitle'] for g in genius_tracks.find({}, ['ctitle']) if tracks.find({'ctitle': g['ctitle']}).count())\n", + "genius_only = set(g['ctitle'] for g in genius_tracks.find({}, ['ctitle']) if not tracks.find({'ctitle': g['ctitle']}).count())\n", + "spotify_only = set(s['ctitle'] for s in tracks.find({}, ['ctitle']) if not genius_tracks.find({'ctitle': s['ctitle']}).count())\n", + "len(in_both), len(genius_only), len(spotify_only)" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### Copy the lyrics over\n", + "Now can can connect the tracks, let's copy across the lyrics from the Genius collection into the Spotify collection. We'll calculate the lyrical density at the same time.\n", + "\n", + "* [Top](#top)" + ] + }, + { + "cell_type": "code", + "execution_count": 455, + "metadata": { + "collapsed": false + }, + "outputs": [], + "source": [ + "for t in tracks.find({}, ['ctitle', 'duration_ms']):\n", + " gts = genius_tracks.find({'ctitle': t['ctitle'], 'lyrics': {'$exists': True}}, ['lyrics', 'original_lyrics'])\n", + " for gt in gts:\n", + " tracks.update_one({'_id': t['_id']}, \n", + " {'$set': {'lyrics': gt['lyrics'], \n", + " 'original_lyrics': gt['original_lyrics'],\n", + " 'lyrical_density': 1000 * len(gt['lyrics'].split()) / t['duration_ms']}})" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Sentiment analysis\n", + "I couldn't find an easily-installable equivalent to the NRC corpus, so I'm using a sentiment analysis API endpoint from [Text Processing](http://text-processing.com/docs/sentiment.html).\n", + "\n", + "* [Top](#top)" + ] + }, + { + "cell_type": "code", + "execution_count": 456, + "metadata": { + "collapsed": false, + "scrolled": true + }, + "outputs": [], + "source": [ + "for t in tracks.find({'lyrics': {'$exists': True}}, ['lyrics']):\n", + " text = t['lyrics']\n", + " if text:\n", + " query = urllib.parse.urlencode({'text': text}).encode('ascii')\n", + " headers = {'Accept': 'application/json',\n", + " 'User-Agent': 'curl/7.9.8 (i686-pc-linux-gnu) libcurl 7.9.8 (OpenSSL 0.9.6b) (ipv6 enabled)'}\n", + " request = urllib.request.Request('http://text-processing.com/api/sentiment/', \n", + " headers=headers, data=query)\n", + " with urllib.request.urlopen(request) as f:\n", + " response = json.loads(f.read().decode('utf-8'))\n", + " tracks.update_one({'_id': t['_id']}, {'$set': {'sentiment': response}})" + ] + }, + { + "cell_type": "code", + "execution_count": 173, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/plain": [ + "dict_keys(['track_href', 'album', 'mode', 'tempo', 'loudness', 'id', 'valence', 'external_ids', 'artists', '_id', 'ctitle', 'sentiment', 'popularity', 'uri', 'energy', 'key', 'available_markets', 'href', 'original_lyrics', 'liveness', 'artist_name', 'external_urls', 'speechiness', 'track_number', 'name', 'analysis_url', 'lyrics', 'duration_ms', 'acousticness', 'preview_url', 'type', 'explicit', 'disc_number', 'danceability', 'time_signature', 'artist_id', 'instrumentalness'])" + ] + }, + "execution_count": 173, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "tracks.find_one({'sentiment': {'$exists': True}}).keys()" + ] + }, + { + "cell_type": "code", + "execution_count": 214, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/plain": [ + "{'_id': '2ucFulEWapRAmTn7l6f5Q7',\n", + " 'acousticness': 0.425,\n", + " 'album': {'album_type': 'album',\n", + " 'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/3WrFJ7ztbogyGnTHbHJFl2'},\n", + " 'href': 'https://api.spotify.com/v1/artists/3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'id': '3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'name': 'The Beatles',\n", + " 'type': 'artist',\n", + " 'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl2'}],\n", + " 'available_markets': ['AD',\n", + " 'AR',\n", + " 'AT',\n", + " 'AU',\n", + " 'BE',\n", + " 'BG',\n", + " 'BO',\n", + " 'BR',\n", + " 'CH',\n", + " 'CL',\n", + " 'CO',\n", + " 'CR',\n", + " 'CY',\n", + " 'CZ',\n", + " 'DE',\n", + " 'DK',\n", + " 'DO',\n", + " 'EC',\n", + " 'EE',\n", + " 'ES',\n", + " 'FI',\n", + " 'FR',\n", + " 'GB',\n", + " 'GR',\n", + " 'GT',\n", + " 'HK',\n", + " 'HN',\n", + " 'HU',\n", + " 'ID',\n", + " 'IE',\n", + " 'IS',\n", + " 'IT',\n", + " 'JP',\n", + " 'LI',\n", + " 'LT',\n", + " 'LU',\n", + " 'LV',\n", + " 'MC',\n", + " 'MT',\n", + " 'MY',\n", + " 'NI',\n", + " 'NL',\n", + " 'NO',\n", + " 'NZ',\n", + " 'PA',\n", + " 'PE',\n", + " 'PH',\n", + " 'PL',\n", + " 'PT',\n", + " 'PY',\n", + " 'SE',\n", + " 'SG',\n", + " 'SK',\n", + " 'SV',\n", + " 'TR',\n", + " 'TW',\n", + " 'UY'],\n", + " 'external_urls': {'spotify': 'https://open.spotify.com/album/03Qh833fEdVT30Pfs93ea6'},\n", + " 'href': 'https://api.spotify.com/v1/albums/03Qh833fEdVT30Pfs93ea6',\n", + " 'id': '03Qh833fEdVT30Pfs93ea6',\n", + " 'images': [{'height': 640,\n", + " 'url': 'https://i.scdn.co/image/d6028aea974c75961cb9cdc2263f5d8a8a6582bd',\n", + " 'width': 640},\n", + " {'height': 300,\n", + " 'url': 'https://i.scdn.co/image/adebae7bf6a4a441bc6a5a17ca840f77df6ed3b9',\n", + " 'width': 300},\n", + " {'height': 64,\n", + " 'url': 'https://i.scdn.co/image/3b0ddfadf13b9f3e74da93fcb21e4183a4d9fcc8',\n", + " 'width': 64}],\n", + " 'name': 'The Beatles (Remastered)',\n", + " 'type': 'album',\n", + " 'uri': 'spotify:album:03Qh833fEdVT30Pfs93ea6'},\n", + " 'analysis_url': 'https://api.spotify.com/v1/audio-analysis/2ucFulEWapRAmTn7l6f5Q7',\n", + " 'artist_id': '3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'artist_name': 'The Beatles',\n", + " 'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/3WrFJ7ztbogyGnTHbHJFl2'},\n", + " 'href': 'https://api.spotify.com/v1/artists/3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'id': '3WrFJ7ztbogyGnTHbHJFl2',\n", + " 'name': 'The Beatles',\n", + " 'type': 'artist',\n", + " 'uri': 'spotify:artist:3WrFJ7ztbogyGnTHbHJFl2'}],\n", + " 'available_markets': ['AD',\n", + " 'AR',\n", + " 'AT',\n", + " 'AU',\n", + " 'BE',\n", + " 'BG',\n", + " 'BO',\n", + " 'BR',\n", + " 'CH',\n", + " 'CL',\n", + " 'CO',\n", + " 'CR',\n", + " 'CY',\n", + " 'CZ',\n", + " 'DE',\n", + " 'DK',\n", + " 'DO',\n", + " 'EC',\n", + " 'EE',\n", + " 'ES',\n", + " 'FI',\n", + " 'FR',\n", + " 'GB',\n", + " 'GR',\n", + " 'GT',\n", + " 'HK',\n", + " 'HN',\n", + " 'HU',\n", + " 'ID',\n", + " 'IE',\n", + " 'IS',\n", + " 'IT',\n", + " 'JP',\n", + " 'LI',\n", + " 'LT',\n", + " 'LU',\n", + " 'LV',\n", + " 'MC',\n", + " 'MT',\n", + " 'MY',\n", + " 'NI',\n", + " 'NL',\n", + " 'NO',\n", + " 'NZ',\n", + " 'PA',\n", + " 'PE',\n", + " 'PH',\n", + " 'PL',\n", + " 'PT',\n", + " 'PY',\n", + " 'SE',\n", + " 'SG',\n", + " 'SK',\n", + " 'SV',\n", + " 'TR',\n", + " 'TW',\n", + " 'UY'],\n", + " 'ctitle': 'wild honey pie',\n", + " 'danceability': 0.792,\n", + " 'disc_number': 1,\n", + " 'duration_ms': 52973,\n", + " 'energy': 0.763,\n", + " 'explicit': False,\n", + " 'external_ids': {'isrc': 'GBAYE0601648'},\n", + " 'external_urls': {'spotify': 'https://open.spotify.com/track/2ucFulEWapRAmTn7l6f5Q7'},\n", + " 'href': 'https://api.spotify.com/v1/tracks/2ucFulEWapRAmTn7l6f5Q7',\n", + " 'id': '2ucFulEWapRAmTn7l6f5Q7',\n", + " 'instrumentalness': 0.627,\n", + " 'key': 2,\n", + " 'liveness': 0.789,\n", + " 'loudness': -11.185,\n", + " 'lyrics': 'honey pie honey pie i love you, honey pie',\n", + " 'mode': 1,\n", + " 'name': 'Wild Honey Pie - Remastered 2009',\n", + " 'original_lyrics': '\\n\\nHoney Pie\\nHoney Pie\\nI love you, Honey Pie\\n\\n',\n", + " 'popularity': 42,\n", + " 'preview_url': 'https://p.scdn.co/mp3-preview/ddebab4d5e87d46a499ce557405cfadf0330bd9c?cid=null',\n", + " 'sentiment': {'label': 'pos',\n", + " 'probability': {'neg': 0.39117763475308887,\n", + " 'neutral': 0.18873615212514983,\n", + " 'pos': 0.6088223652469111}},\n", + " 'speechiness': 0.0506,\n", + " 'tempo': 89.9,\n", + " 'time_signature': 4,\n", + " 'track_href': 'https://api.spotify.com/v1/tracks/2ucFulEWapRAmTn7l6f5Q7',\n", + " 'track_number': 5,\n", + " 'type': 'audio_features',\n", + " 'uri': 'spotify:track:2ucFulEWapRAmTn7l6f5Q7',\n", + " 'valence': 0.153}" + ] + }, + "execution_count": 214, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "tracks.find_one({'sentiment': {'$exists': True}})" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Analysis\n", + "Finally, we can get to the analysis of the data!\n", + "\n", + "First, what are the lowest-valence songs, and what's the distribution of valences?\n", + "\n", + "* [Top](#top)" + ] + }, + { + "cell_type": "code", + "execution_count": 197, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
_idartist_namenamevalence
01AVrv7FD10FoKW38oBiKRgRadioheadBloom (Blawan Rmx)0.0325
14rkGGQEqxHIXVJ4oXjOHgFGeorge MartinSea Of Holes - Remastered 20090.0352
201ZpFhrMMqKPVCwyqXneVpRadioheadTrue Love Waits0.0378
353RYTfkLiyZuUZHwJC3WmmRadioheadWe Suck Young Blood0.0378
40ttMfoND7IQqFSMVOPkELCThe BeatlesBlue Jay Way - Remastered 20090.0380
566Pyms4pYaHEcPHZ7DdMbERadioheadTKOL (Altrice Rmx)0.0383
63gKuywOm38axM8sJGq6LaqRadioheadMK 10.0391
775YUnz58ajMo2VIIuUFvOVRadioheadThe Tourist0.0400
80tKuiKb2mazZYdA6fPP7kIRadioheadGood Evening Mrs Magpie (Modeselektor RMX)0.0413
92PbwmAMaxIBIWis8XLViatGeorge MartinSea Of Monsters - Remastered 20090.0422
100COiZ7ncho2yi4HotbzgPvRadioheadMotion Picture Soundtrack0.0425
112uYSbsxAMmK1awUl06T7ixRadioheadMK 20.0437
124gq2bc2770XvbJdEtfUbmwRadioheadGo Slowly0.0453
135olWalQH1oVza5D6xJg4oXRadioheadSail To The Moon0.0458
1449JPfRfsAfjWYRN6lbC3myGeorge MartinPepperland Laid Waste - Remastered 20090.0459
153uxhyRdWVXp7GQvERQl6fARadioheadVideotape0.0468
1629yXMFKIrY1fFY4DYBVZCuRadioheadLife In a Glasshouse0.0516
173cual6JOG286qZJmCxKRATRadioheadTinker Tailor Soldier Sailor Rich Man Poor Man...0.0517
186f6pEjgfTtuRROmJ4a7Gf3RadioheadThe Numbers0.0545
190agoaPIy92gPZ6zRhqXarEThe BeatlesTomorrow Never Knows - Remastered 20090.0556
\n", + "
" + ], + "text/plain": [ + " _id artist_name \\\n", + "0 1AVrv7FD10FoKW38oBiKRg Radiohead \n", + "1 4rkGGQEqxHIXVJ4oXjOHgF George Martin \n", + "2 01ZpFhrMMqKPVCwyqXneVp Radiohead \n", + "3 53RYTfkLiyZuUZHwJC3Wmm Radiohead \n", + "4 0ttMfoND7IQqFSMVOPkELC The Beatles \n", + "5 66Pyms4pYaHEcPHZ7DdMbE Radiohead \n", + "6 3gKuywOm38axM8sJGq6Laq Radiohead \n", + "7 75YUnz58ajMo2VIIuUFvOV Radiohead \n", + "8 0tKuiKb2mazZYdA6fPP7kI Radiohead \n", + "9 2PbwmAMaxIBIWis8XLViat George Martin \n", + "10 0COiZ7ncho2yi4HotbzgPv Radiohead \n", + "11 2uYSbsxAMmK1awUl06T7ix Radiohead \n", + "12 4gq2bc2770XvbJdEtfUbmw Radiohead \n", + "13 5olWalQH1oVza5D6xJg4oX Radiohead \n", + "14 49JPfRfsAfjWYRN6lbC3my George Martin \n", + "15 3uxhyRdWVXp7GQvERQl6fA Radiohead \n", + "16 29yXMFKIrY1fFY4DYBVZCu Radiohead \n", + "17 3cual6JOG286qZJmCxKRAT Radiohead \n", + "18 6f6pEjgfTtuRROmJ4a7Gf3 Radiohead \n", + "19 0agoaPIy92gPZ6zRhqXarE The Beatles \n", + "\n", + " name valence \n", + "0 Bloom (Blawan Rmx) 0.0325 \n", + "1 Sea Of Holes - Remastered 2009 0.0352 \n", + "2 True Love Waits 0.0378 \n", + "3 We Suck Young Blood 0.0378 \n", + "4 Blue Jay Way - Remastered 2009 0.0380 \n", + "5 TKOL (Altrice Rmx) 0.0383 \n", + "6 MK 1 0.0391 \n", + "7 The Tourist 0.0400 \n", + "8 Good Evening Mrs Magpie (Modeselektor RMX) 0.0413 \n", + "9 Sea Of Monsters - Remastered 2009 0.0422 \n", + "10 Motion Picture Soundtrack 0.0425 \n", + "11 MK 2 0.0437 \n", + "12 Go Slowly 0.0453 \n", + "13 Sail To The Moon 0.0458 \n", + "14 Pepperland Laid Waste - Remastered 2009 0.0459 \n", + "15 Videotape 0.0468 \n", + "16 Life In a Glasshouse 0.0516 \n", + "17 Tinker Tailor Soldier Sailor Rich Man Poor Man... 0.0517 \n", + "18 The Numbers 0.0545 \n", + "19 Tomorrow Never Knows - Remastered 2009 0.0556 " + ] + }, + "execution_count": 197, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "pd.DataFrame(list(tracks.find({}, \n", + " ['artist_name', 'name', 'valence'], \n", + " sort=[('valence', pymongo.ASCENDING)], limit=20)))" + ] + }, + { + "cell_type": "code", + "execution_count": 458, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
_idartist_namenamevalence
830ttMfoND7IQqFSMVOPkELCThe BeatlesBlue Jay Way - Remastered 20090.0380
1800agoaPIy92gPZ6zRhqXarEThe BeatlesTomorrow Never Knows - Remastered 20090.0556
2286ZrPbHp9kRmQj1tGLvna8UThe BeatlesRevolution 9 - Remastered 20090.0963
20727YZJHyTTDIurMqDu1v2efThe BeatlesLong, Long, Long - Remastered 20090.1350
02ucFulEWapRAmTn7l6f5Q7The BeatlesWild Honey Pie - Remastered 20090.1530
1964cLoL5KPfE1hAwfsO84FX7The BeatlesBecause - Remastered 20090.1620
1033ZFBeIyP41HhnALjxWy1pRThe BeatlesA Day In The Life - Remastered 20090.1620
367iABnSNZciNepqGtjMQxxdThe BeatlesCome Together - Remastered 20150.1780
480MKqeOVdZcUFGJvWpGCKbGThe BeatlesCome Together - Remastered 20090.1790
594gUUfLOH38XYU5Q3b2K4GoThe BeatlesIt's All Too Much - Remastered 20090.1920
\n", + "
" + ], + "text/plain": [ + " _id artist_name \\\n", + "83 0ttMfoND7IQqFSMVOPkELC The Beatles \n", + "180 0agoaPIy92gPZ6zRhqXarE The Beatles \n", + "228 6ZrPbHp9kRmQj1tGLvna8U The Beatles \n", + "207 27YZJHyTTDIurMqDu1v2ef The Beatles \n", + "0 2ucFulEWapRAmTn7l6f5Q7 The Beatles \n", + "196 4cLoL5KPfE1hAwfsO84FX7 The Beatles \n", + "103 3ZFBeIyP41HhnALjxWy1pR The Beatles \n", + "36 7iABnSNZciNepqGtjMQxxd The Beatles \n", + "48 0MKqeOVdZcUFGJvWpGCKbG The Beatles \n", + "59 4gUUfLOH38XYU5Q3b2K4Go The Beatles \n", + "\n", + " name valence \n", + "83 Blue Jay Way - Remastered 2009 0.0380 \n", + "180 Tomorrow Never Knows - Remastered 2009 0.0556 \n", + "228 Revolution 9 - Remastered 2009 0.0963 \n", + "207 Long, Long, Long - Remastered 2009 0.1350 \n", + "0 Wild Honey Pie - Remastered 2009 0.1530 \n", + "196 Because - Remastered 2009 0.1620 \n", + "103 A Day In The Life - Remastered 2009 0.1620 \n", + "36 Come Together - Remastered 2015 0.1780 \n", + "48 Come Together - Remastered 2009 0.1790 \n", + "59 It's All Too Much - Remastered 2009 0.1920 " + ] + }, + "execution_count": 458, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "beatles_df = pd.DataFrame(list(tracks.find({'artist_id': beatles_id}, \n", + " ['artist_name', 'name', 'valence'])))\n", + "beatles_df.sort_values('valence').head(10)" + ] + }, + { + "cell_type": "code", + "execution_count": 459, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/plain": [ + "" + ] + }, + "execution_count": 459, + "metadata": {}, + "output_type": "execute_result" + }, + { + "data": { + "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXUAAAEACAYAAABMEua6AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAEsZJREFUeJzt3X+MbHdZx/H3c7ltAxR6b4u9Wyl0RUNLwLoYrJgSHH7I\nLxPb8McNEJGVkJiISkIi3JKYxj8UiX9IjNEEJdwLkVAEoUUhLeX2SEhAIKE/hFIpcq9Q6RQovQaE\nmxYe/5jZne3euTtnd2bO98yZ9yuZ3DlzZ/b7nCdnnj372T27kZlIkrphX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+ "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "beatles_df['valence'].hist()" + ] + }, + { + "cell_type": "code", + "execution_count": 460, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
_idartist_namenamevalence
141AVrv7FD10FoKW38oBiKRgRadioheadBloom (Blawan Rmx)0.0325
13153RYTfkLiyZuUZHwJC3WmmRadioheadWe Suck Young Blood0.0378
12301ZpFhrMMqKPVCwyqXneVpRadioheadTrue Love Waits0.0378
1366Pyms4pYaHEcPHZ7DdMbERadioheadTKOL (Altrice Rmx)0.0383
203gKuywOm38axM8sJGq6LaqRadioheadMK 10.0391
11775YUnz58ajMo2VIIuUFvOVRadioheadThe Tourist0.0400
150tKuiKb2mazZYdA6fPP7kIRadioheadGood Evening Mrs Magpie (Modeselektor RMX)0.0413
1400COiZ7ncho2yi4HotbzgPvRadioheadMotion Picture Soundtrack0.0425
212uYSbsxAMmK1awUl06T7ixRadioheadMK 20.0437
1434gq2bc2770XvbJdEtfUbmwRadioheadGo Slowly0.0453
\n", + "
" + ], + "text/plain": [ + " _id artist_name \\\n", + "14 1AVrv7FD10FoKW38oBiKRg Radiohead \n", + "131 53RYTfkLiyZuUZHwJC3Wmm Radiohead \n", + "123 01ZpFhrMMqKPVCwyqXneVp Radiohead \n", + "13 66Pyms4pYaHEcPHZ7DdMbE Radiohead \n", + "20 3gKuywOm38axM8sJGq6Laq Radiohead \n", + "117 75YUnz58ajMo2VIIuUFvOV Radiohead \n", + "15 0tKuiKb2mazZYdA6fPP7kI Radiohead \n", + "140 0COiZ7ncho2yi4HotbzgPv Radiohead \n", + "21 2uYSbsxAMmK1awUl06T7ix Radiohead \n", + "143 4gq2bc2770XvbJdEtfUbmw Radiohead \n", + "\n", + " name valence \n", + "14 Bloom (Blawan Rmx) 0.0325 \n", + "131 We Suck Young Blood 0.0378 \n", + "123 True Love Waits 0.0378 \n", + "13 TKOL (Altrice Rmx) 0.0383 \n", + "20 MK 1 0.0391 \n", + "117 The Tourist 0.0400 \n", + "15 Good Evening Mrs Magpie (Modeselektor RMX) 0.0413 \n", + "140 Motion Picture Soundtrack 0.0425 \n", + "21 MK 2 0.0437 \n", + "143 Go Slowly 0.0453 " + ] + }, + "execution_count": 460, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "radiohead_df = pd.DataFrame(list(tracks.find({'artist_id': radiohead_id}, \n", + " ['artist_name', 'name', 'valence'])))\n", + "radiohead_df.sort_values('valence').head(10)" + ] + }, + { + "cell_type": "code", + "execution_count": 461, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/plain": [ + "" + ] + }, + "execution_count": 461, + "metadata": {}, + "output_type": "execute_result" + }, + { + "data": { + "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXUAAAEACAYAAABMEua6AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAGgpJREFUeJzt3X+MZWd93/H3117XZeNkZ8FhTXHxRJEIGMWdutRxAYlj\nwO1StbHlfwpELUNpmj8KQQlR7QqirVKawqJapYqoFH5kDBLlD4PAhrqYgp+2hhgSe69/14WUyRaa\nGe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HgvPr1XwU2pr7fOQYeZ/gd\npt8Bbqhv+zXgn47c5/fq/4h7gcsXcCL3bRo5cU8CjwOngQuCmz5Wf6Dfw/CfWt8u4Hn658ADddN/\nB14d3bTnvp9kAZt6w+fqn9XP1Sngm8AvRTfVx7/F8AqY+4B3F9L0duAzizhvDc/dhcCt9f50H8Pv\nkI9uurJ++8MMLwo4Mu196puPRESWiH6dnYjIEtGmLiKyRLSpi4gsEW3qIiJLRJu6iMgS0aYuIrJE\ntKmLiCwRbeoiIkvk/wOeJ/xuf0ugsAAAAABJRU5ErkJggg==\n", + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "radiohead_df['valence'].hist()" + ] + }, + { + "cell_type": "code", + "execution_count": 462, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/plain": [ + "" + ] + }, + "execution_count": 462, + "metadata": {}, + "output_type": "execute_result" + }, + { + "data": { + "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXUAAAEACAYAAABMEua6AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAF7RJREFUeJzt3X+QXXV5x/HPQ35oAjYbpUlabdhqFZxMw0otTYvT2Qhq\ntDMmZTqM2lBXxpnO9JeMM63gTMM2M63Sf5rpdNoZqWWjqYOMaECrBYFcJdYUrJsEASmglxXkLoaw\nSxMSWTZP/9i7eTZLsvfePfd+z81336+ZHe65e+79fvfh7LMnn3t+mLsLAJCHc8qeAACgfWjqAJAR\nmjoAZISmDgAZoakDQEZo6gCQkcXNrGRmVUnjkk5ImnD3S81spaQvSrpAUlXSVe4+3qF5AgCa0Oye\n+glJ/e7+Nne/tP7cdZLudvcLJd0r6fpOTBAA0Lxmm7qdZt3NknbWH++UtKVdkwIAzE+zTd0lfdPM\nHjCzj9afW+3uo5Lk7jVJqzoxQQBA85rK1CVd5u7PmNkvSrrLzB7VVKOfiesNAEDJmmrq7v5M/b8/\nM7Pdki6VNGpmq9191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c9wIpKZ\n/fHUt/0z7v51M3ufmT0u6aimYofsNFMLSX8t6bWS/rm+lzrh7peWN+v2a7IOp7wk+SQTafL344dm\ndqekg5ImJX3G3R8ucdod0eR28SlJN5vZAU01u79y98PlzbpzzOwLkvolvc7MRjR15M9SFeibnHwE\nABnhdnYAkBGaOgBkhKYOABmhqQNARmjqAJARmjoAZISmDgAZoakDQEb+H6iMmfsA2fyPAAAAAElF\nTkSuQmCC\n", + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "beatles_df['valence'].hist(alpha=0.5, color='blue')\n", + "radiohead_df['valence'].hist(alpha=0.5, color='red')" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### Sentiment\n", + "We can now look at the sentiment scores for the lyrics.\n", + "\n", + "* [Top](#top)" + ] + }, + { + "cell_type": "code", + "execution_count": 463, + "metadata": { + "collapsed": false, + "scrolled": true + }, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
_idartist_namenamenegneutralposvalence
673VgxeWOGdUYvtX1j8C9VyVThe BeatlesI'm So Tired - Remastered 20090.8924890.1463020.1075110.6300
506gLmFcRwyQCQT23Df2Re9GThe BeatlesI Want You (She's So Heavy) - Remastered 20090.8826420.0918190.1173580.4160
2266ZrPbHp9kRmQj1tGLvna8UThe BeatlesRevolution 9 - Remastered 20090.8732850.1723220.1267150.0963
2133EbGioQyKyf4dycuiPOg3kThe BeatlesEverybody's Trying To Be My Baby - Remastered ...0.8669850.9143320.1330150.9370
19179QDgDoBbS7pCrOjIH7ByAThe BeatlesEverybody’s Trying To Be My Baby - Live / Bonu...0.8669850.9143320.1330150.6390
424311wT21Et0q3vepFwXjTuThe BeatlesOne After 909 - Remastered 20090.8657370.1584700.1342630.9040
1133QbhVaulXxTyuAxHY3Pa5NThe BeatlesYou Won't See Me - Remastered 20090.8645850.2472260.1354150.4620
1493Aqo28W4LLAolYpN3duVJlThe BeatlesI'll Cry Instead - Remastered 20090.8637720.1605160.1362280.9610
703OSi8ehmSWLTD5KatlzX8rThe BeatlesDon't Pass Me By - Remastered 20090.8578310.1206760.1421690.9480
1043wAOX1N5M0ta3QNsokmhJVThe BeatlesI'm Only Sleeping - Remastered 20090.8576510.2698000.1423490.7000
\n", + "
" + ], + "text/plain": [ + " _id artist_name \\\n", + "67 3VgxeWOGdUYvtX1j8C9VyV The Beatles \n", + "50 6gLmFcRwyQCQT23Df2Re9G The Beatles \n", + "226 6ZrPbHp9kRmQj1tGLvna8U The Beatles \n", + "213 3EbGioQyKyf4dycuiPOg3k The Beatles \n", + "191 79QDgDoBbS7pCrOjIH7ByA The Beatles \n", + "42 4311wT21Et0q3vepFwXjTu The Beatles \n", + "113 3QbhVaulXxTyuAxHY3Pa5N The Beatles \n", + "149 3Aqo28W4LLAolYpN3duVJl The Beatles \n", + "70 3OSi8ehmSWLTD5KatlzX8r The Beatles \n", + "104 3wAOX1N5M0ta3QNsokmhJV The Beatles \n", + "\n", + " name neg neutral \\\n", + "67 I'm So Tired - Remastered 2009 0.892489 0.146302 \n", + "50 I Want You (She's So Heavy) - Remastered 2009 0.882642 0.091819 \n", + "226 Revolution 9 - Remastered 2009 0.873285 0.172322 \n", + "213 Everybody's Trying To Be My Baby - Remastered ... 0.866985 0.914332 \n", + "191 Everybody’s Trying To Be My Baby - Live / Bonu... 0.866985 0.914332 \n", + "42 One After 909 - Remastered 2009 0.865737 0.158470 \n", + "113 You Won't See Me - Remastered 2009 0.864585 0.247226 \n", + "149 I'll Cry Instead - Remastered 2009 0.863772 0.160516 \n", + "70 Don't Pass Me By - Remastered 2009 0.857831 0.120676 \n", + "104 I'm Only Sleeping - Remastered 2009 0.857651 0.269800 \n", + "\n", + " pos valence \n", + "67 0.107511 0.6300 \n", + "50 0.117358 0.4160 \n", + "226 0.126715 0.0963 \n", + "213 0.133015 0.9370 \n", + "191 0.133015 0.6390 \n", + "42 0.134263 0.9040 \n", + "113 0.135415 0.4620 \n", + "149 0.136228 0.9610 \n", + "70 0.142169 0.9480 \n", + "104 0.142349 0.7000 " + ] + }, + "execution_count": 463, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "pipeline = [\n", + " {'$match': {'lyrics': {'$exists': True}, 'sentiment': {'$exists': True}, 'valence': {'$exists': True},\n", + " 'artist_id': beatles_id}},\n", + " {'$project': {'artist_name': '$artist_name',\n", + " 'name': '$name',\n", + " 'valence': '$valence',\n", + " 'neg': '$sentiment.probability.neg',\n", + " 'neutral': '$sentiment.probability.neutral',\n", + " 'pos': '$sentiment.probability.pos'}}\n", + "]\n", + "beatles_df = pd.DataFrame(list(tracks.aggregate(pipeline)))\n", + "beatles_df.sort_values('neg', ascending=False).head(10)" + ] + }, + { + "cell_type": "code", + "execution_count": 464, + "metadata": { + "collapsed": false, + "scrolled": true + }, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
_idartist_namenamenegneutralposvalence
2311qDTSr3Dj4TkPnBcIOqEJRadioheadVegetable0.8832910.1703710.1167090.399
6038WL6GlG9NHFiQS6JxV84rRadioheadMyxomatosis0.8649210.2613550.1350790.560
192zYmvi3w2T8a9Ckrv21bvWRadioheadStop Whispering0.8559820.1886000.1440180.279
871w8QCSDH4QobcQeT4uMKLmRadiohead4 Minute Warning0.8548200.5165740.1451800.219
93aDUSpF3LexOr1lFKvPV2hRadioheadThe Bends0.8542440.5338230.1457560.315
2548IEDejXX5LH8TAC3VIGpcRadioheadI Can't0.8497300.2653750.1502700.269
53SVAN3BRByDmHOhKyIDxfCRadioheadKarma Police0.8461290.1004380.1538710.311
144dPKQxaraW6CG1rTBzV6DWRadioheadMy Iron Lung0.8450800.1908630.1549200.643
435SdmtFbNOD7Qej6jFCHkOMRadioheadFaust Arp0.8385320.1677780.1614680.224
5777SPrxY5gn6VPrKPGrfLnMRadioheadThere, There0.8355410.1359510.1644590.726
\n", + "
" + ], + "text/plain": [ + " _id artist_name name neg neutral \\\n", + "23 11qDTSr3Dj4TkPnBcIOqEJ Radiohead Vegetable 0.883291 0.170371 \n", + "60 38WL6GlG9NHFiQS6JxV84r Radiohead Myxomatosis 0.864921 0.261355 \n", + "19 2zYmvi3w2T8a9Ckrv21bvW Radiohead Stop Whispering 0.855982 0.188600 \n", + "87 1w8QCSDH4QobcQeT4uMKLm Radiohead 4 Minute Warning 0.854820 0.516574 \n", + "9 3aDUSpF3LexOr1lFKvPV2h Radiohead The Bends 0.854244 0.533823 \n", + "25 48IEDejXX5LH8TAC3VIGpc Radiohead I Can't 0.849730 0.265375 \n", + "5 3SVAN3BRByDmHOhKyIDxfC Radiohead Karma Police 0.846129 0.100438 \n", + "14 4dPKQxaraW6CG1rTBzV6DW Radiohead My Iron Lung 0.845080 0.190863 \n", + "43 5SdmtFbNOD7Qej6jFCHkOM Radiohead Faust Arp 0.838532 0.167778 \n", + "57 77SPrxY5gn6VPrKPGrfLnM Radiohead There, There 0.835541 0.135951 \n", + "\n", + " pos valence \n", + "23 0.116709 0.399 \n", + "60 0.135079 0.560 \n", + "19 0.144018 0.279 \n", + "87 0.145180 0.219 \n", + "9 0.145756 0.315 \n", + "25 0.150270 0.269 \n", + "5 0.153871 0.311 \n", + "14 0.154920 0.643 \n", + "43 0.161468 0.224 \n", + "57 0.164459 0.726 " + ] + }, + "execution_count": 464, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "pipeline = [\n", + " {'$match': {'lyrics': {'$exists': True}, 'sentiment': {'$exists': True}, 'valence': {'$exists': True},\n", + " 'artist_id': radiohead_id}},\n", + " {'$project': {'artist_name': '$artist_name',\n", + " 'name': '$name',\n", + " 'valence': '$valence',\n", + " 'neg': '$sentiment.probability.neg',\n", + " 'neutral': '$sentiment.probability.neutral',\n", + " 'pos': '$sentiment.probability.pos'}}\n", + "]\n", + "radiohead_df = pd.DataFrame(list(tracks.aggregate(pipeline)))\n", + "radiohead_df.sort_values('neg', ascending=False).head(10)" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Plot the valence/negativity scatter plot, using blue for The Beatles and red for Radiohead.\n", + "\n", + "If valence and negativity are correlated, I'd expect to see a trend from high negativity/low valence to low negativity/high valence." + ] + }, + { + "cell_type": "code", + "execution_count": 465, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYgAAAEPCAYAAABY9lNGAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJztnX+UJldZ5z9PZ+i1IdksTRQJmBEDbFBM0hhj3KBpXHt6\ngmIcImeBBQPoIUcFOWtzyGRxySzb2YCecdmIgvEkCB4RPWKOwSVvzyDpcMZDYIZMfgD5CRghIE7i\nDyBOmPx49o+qN11dfavq1o9bP973+ZxTp/utt96qp25VPd97n+feW6KqGIZhGEaama4NMAzDMPqJ\nCYRhGIbhxATCMAzDcGICYRiGYTgxgTAMwzCcmEAYhmEYToIKhIhcLSLfEJHbcra5UkTuEZFbROTM\nkPYYhmEY/oRuQbwfWM76UkTOB05V1ecCFwPvC2yPYRiG4UlQgVDVA8A/52xyAfDBeNtPAyeKyNND\n2mQYhmH40XUO4pnAVxKf74/XGYZhGB3TtUAYhmEYPWVbx8e/H/i+xOdnxeu2ICI2aZRhGEYFVFWq\n/K6NFoTEi4vrgF8EEJFzgH9R1W9k7UhVB7tcdtllndtg9ndvxzTaP2TbJ8H+OgRtQYjIh4BF4Gki\n8vfAZcAsoKp6lap+TEReIiL3Ag8Brwtpj2EYhuFPUIFQ1Vd5bPPGkDYYhmEY1bAkdUssLi52bUIt\nzP5uGbL9Q7Ydhm9/HaRujKotRESHYqthGEZfEBG0x0lqwzAMY4CYQBiGYRhOTCAMwzAMJyYQhmEY\nhhMTCMMwDMOJCYRhGIbhxATCMAzDcGICYR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ZYfQHEwhj\nWvkQW19/+wrgT3N+Y4OGjKnCBMKYVj4CvCSey4v4venPAA6LyMdF5FD8cpWfc/1YRN4iIp+JXx5z\n2XgfIvIFEbkqfqHPSET+XfzdqSKyP97+kIg8O2s/htEXTCCMqUSjyco+Q/QiGIhaD38OHCWaEvws\nollT96Z/G4emnquqZwMLwFkiMp4d8znA76rqC4B/BS6M1/9JvP5M4D8BXy/Yj2F0TqezuRpGx3yY\nSBg+Gv99PVGl6Z0i8hPA48DJIvI9qpqcTXgHsCQiNxNNjvYU4LlE7wv4sqreHm/3WeD74+noT9Z4\nYkBVPQYgIln7ORDwnA3DGxMIY5r5K+B3RGQBmFPVwyJyEfA0YEFVH4+npP6u1O+E6NWZf7hpZRSm\n+k5i1WOJ37pm2XTuxzD6goWYjKlFVR8C1olmdv1QvPpE4B9jcXgx0TuWx4yd/BrwehF5CkRvqhOR\n705tkzzOt4GviMgF8fazIjJXsB/D6BxrQRjTzp8Cfwn8l/jznwAfFZFbiV5kk3zfggKo6n4ROY3o\njW4A3wJeTRSSyurp9IvAH4jIO4BjwMtz9nOkudMzjOrYdN+GYRiGEwsxGYZhGE5MIAzDMAwnJhCG\nYRiGExMIwzAMw4kJhGEYhuHEBMIwDMNwYgJhGIZhODGBMAzDMJz8fyG4dcypaWA9AAAAAElFTkSu\nQmCC\n", + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "plt.scatter(beatles_df['valence'], beatles_df['neg'], color='blue')\n", + "plt.scatter(radiohead_df['valence'], radiohead_df['neg'], color='red')\n", + "plt.xlabel('Valence')\n", + "plt.ylabel('Sentiment negativity')\n", + "plt.show()" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Positivity and negativity are connected." + ] + }, + { + "cell_type": "code", + "execution_count": 466, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYgAAAEPCAYAAABY9lNGAAAABHNC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R1AVeIKhVbDazboJuoi8NiW8PQffXE2Z2a0Rc9xG0Hu5NE+s9wD+GhfY3\nhse+RdAi6kjzPTLOaZirSAzCIbB73f22fMeSTlh/mOLuN+Y7FilMqkGIjENm9l3gVILBASKR1IIQ\nEZFIqkGIiEgkJQgREYmkBCEiIpGUIEREJJIShIiIRFKCEBGRSP8fijP+kQbnmdsAAAAASUVORK5C\nYII=\n", + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "plt.scatter(beatles_df['pos'], beatles_df['neg'], color='blue')\n", + "plt.scatter(radiohead_df['pos'], radiohead_df['neg'], color='red')\n", + "plt.xlabel('Sentiment positivity')\n", + "plt.ylabel('Sentiment negativity')\n", + "plt.show()" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Neutrality, I think, is to do with the confidence in the classification." + ] + }, + { + "cell_type": "code", + "execution_count": 467, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYgAAAEPCAYAAABY9lNGAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJztnX+cHWV979/fzbKXtUHqSawilliCGtECG1CxcMtaPbvB\nihrRe1W0wdqX3FapLWslaWhJe3dF7Q16/VG99gWCvVJsa3PFCufsUlhsLGgSQkDkt5aq+IMkrcUQ\nJCHf+8czk50z55lz5sw5c86cs9/36zWvnZmdH9+dnXk+z/P9Ps/3EVXFMAzDMOIM9doAwzAMo5iY\nQBiGYRheTCAMwzAMLyYQhmEYhhcTCMMwDMOLCYRhGIbhJVeBEJErROTHInJng2M+LiIPiMgdInJK\nnvYYhmEY6cm7BfE5YDLplyJyNrBSVZ8PXAB8Jmd7DMMwjJTkKhCquhX49waHvB74fHDsN4CjReRZ\nedpkGIZhpKPXMYhjge9Ftn8Q7DMMwzB6TK8FwjAMwygowz2+/w+AX45sPzfYV4eIWNIowzCMDKiq\nZDmv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Qv8URCEPt5jz58Bfy8i24BHm9gB\nrsXwmcDu/xLs+wLwPVW9L8X5xiLC0n0bxiIn6PF1u6paC8KowQTCMBYxIrIdN56jHLTeDOMwJhCG\nYRiGF4tBGIZhGF5MIAzDMAwvJhCGYRiGFxMIwzAMw4sJhGEYhuHFBMIwDMPw8v8BsU7wmvR70TQA\nAAAASUVORK5CYII=\n", + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "plt.scatter(beatles_df['neutral'], beatles_df['neg'], color='blue')\n", + "plt.scatter(radiohead_df['neutral'], radiohead_df['neg'], color='red')\n", + "plt.xlabel('Sentiment neutrality')\n", + "plt.ylabel('Sentiment negativity')\n", + "plt.show()" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "This plot shows that most songs have a low neutrality, so express a clear sentiment in the lyrics. Let's plot the distribution of \"neutral\" scores to highlight this." + ] + }, + { + "cell_type": "code", + "execution_count": 468, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/plain": [ + "" + ] + }, + "execution_count": 468, + "metadata": {}, + "output_type": "execute_result" + }, + { + "data": { + "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXwAAAEACAYAAACwB81wAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAFftJREFUeJzt3X+M5PV93/Hn2z5wsGPfHYm4U7maBTsIHNXZpjFxFaSO\nDTg4kQDlj8QhcVmqRJHcNlFUuYCrir8afkSV0x9yJVLKYskudWxFnBMciOv7uqI2Jgmew+HOV5zm\nDKa9jYyJKyziHPa7f8ws391l92Zv5jvz+ezO8yGNbj7fmdnv+97f3ffOveY7c5GZSJJ2v9eULkCS\nNBsOfEmaEw58SZoTDnxJmhMOfEmaEw58SZoTIwd+RNwbESsR8eQmt/2LiPh+RJy/ZtttEfF0RByP\niPd0XbAkaTzbeYZ/H/DTGzdGxCHgGuDra7ZdDvw8cDnwXuAjERHdlCpJmsTIgZ+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/YCTwEXDtc/XLrugr24HbhjtQ/A88Ce0rVPoRdXAovAk1vc\nPtbcnPYz/O28Aet64KMAmfklYG9EHJhyXSWM7EVmPpaZ3x4uH2P3vndhu2/M++fAJ4G/mmVxM7ad\nXtwIfCoznwPIzG/OuMZZ2U4vTgFvHF5/I/B8Zr48wxpnIjMfBV44w13GmpvTHvjbeQPWxvs8t8l9\ndoOzfTParwCfmWpF5YzsRUT8HeCGzPxP7OTz4EbbzvfFpcD5EXEkIv4kIt4/s+pmazu9+F3gRyPi\n/wBHgd+YUW21GWtu+vHIFYqIdwE3M/hn3bz6HWBthrubh/4oe4AfB94NvAH4YkR8MTO/VrasIm4D\njmbmuyLiLcAfR8TbM/PF0oXtBNMe+Nt5A9ZzwN8dcZ/dYFtvRouItwP3ANdm5pn+SbeTbacXPwE8\nEIP/AeSHgfdGxOnMPDyjGmdlO734BvDNzPwb4G8i4n8AP8Yg795NttOLnwL+DUBm/kVE/CVwGfCn\nM6mwHmPNzWlHOn8CvDUiLoqIc4H3ARt/YA8D/xggIt4J/HVmrky5rhJG9iIi3gx8Cnh/Zv5FgRpn\nZWQvMvOS4eViBjn+B3bhsIft/Yw8CFwZEa+NiNczeJFuN76vZTu9OA5cDTDMrC8F/vdMq5ydYOt/\n2Y41N6f6DD+3eANWRPza4Oa8JzMfioifiYivAd9hEGXsOtvpBfCvgfOBjwyf2Z7OzCvKVT0d2+zF\nuofMvMgZ2ebPyFcj4mHgSeB7wD2Zeaxg2VOxze+LO4D7IuIog2H4LzPzW+Wqno6I+DiD//7thyLi\nGQZnJ53LhHPTN15J0pzwvziUpDnhwJekOeHAl6Q54cCXpDnhwJekOeHAl6Q54cCXpDnhwJekOfH/\nAb0oopGefrdyAAAAAElFTkSuQmCC\n", + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "beatles_df.append(radiohead_df)['neutral'].hist()" + ] + }, + { + "cell_type": "code", + "execution_count": 469, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/plain": [ + "" + ] + }, + "execution_count": 469, + "metadata": {}, + "output_type": "execute_result" + }, + { + "data": { + "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXwAAAEACAYAAACwB81wAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAFzJJREFUeJzt3X+MHPV5x/HPA4YUguMzrrBVjFlSFEKjOhfUJFShihNI\nSlIptqIK5UfTbFCiSmmTXFu12FVrrlYrQlFVp2pTiTblTJMUkUQCSpOaUthEbkOTND6bYHCAdH1A\nvEeMuYt/xGBfnv5xe/ccV9/dMvPdnbmb90uydLM3s/PVh/Nzw2dn1+buAgAsfWcUvQAAQG8w8AGg\nIhj4AFARDHwAqAgGPgBUBAMfACpiwYFvZp8zs1Ez2zvjsZVmdp+Z7TeznWa2Ysb3tpjZ42b2qJm9\ns1sLBwC8PJ1c4d8m6VdnPbZZ0v3ufpmkByRtkSQz+wVJ10m6XNK7JH3WzCzdcgEAWS048N19l6Tn\nZz28UdKO9tc7JG1qf/0eSXe4+yl3b0p6XNKb0iwVAJBH1g7/AncflSR3b0m6oP34hZKemrHfM+3H\nAAAFS/WiLZ/PAAAltyzjcaNmttrdR81sjaRn248/I+miGfutbT/2/5gZvyQAIAN3z/TaaKdX+Nb+\nM+UeSfX21x+WdPeMx99nZmeb2SWSLpX0rbme1N35464bb7yx8DWU5Q9ZkAVZzP8njwWv8M3si5I2\nSFplZiOSbpT0aUlfMrPrJR3Q5J05cvd9ZnanpH2STkr6uOddYQU0m82il1AaZBHIIpBFGgsOfHf/\nwBzfumaO/W+SdFOeRQEA0uOdtiVQr9eLXkJpkEUgi0AWaVhRjYuZ0fYAwMtkZvIuv2iLLmo0GkUv\noTTIIpBFIIs0GPgAUBFUOgCwiOSpdLK+8aqStm7drpGRscLOv25dn7ZtGyjs/AAWNwb+yzAyMqZa\nbTD58zabDdVqGzrYL/25y6bRaGjDhg1FL6MUyCKQRRp0+ABQEQz8Eujk6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DNHmKz93nmNPssBZ1kMdNHJX2tqysqzoJZmNnPSdrk7n8nKdMtaItEJz8Xr5F0vpk9aGbf\nNrMP9Wx1vdVJFn8v6XVm9kNJeyR9qkdrK5tMc5NPyywhM3ubpI9o8n/rqmq7pJkd7lIe+gtZJukK\nSW+X9EpJ3zSzb7r7E8UuqxBbJO1x97eZ2c9L+nczW+/uR4te2GLQ7YH/jKR1M7bXth+bvc9FC+yz\nFHSShcxsvaRbJV3r7vP9L91i1kkWvyTpDjMzTXa17zKzk+5+T4/W2CudZPG0pEPufkLSCTP7hqTX\na7LvXko6yeItkv5cktz9STP7X0mvlfSdnqywPDLNzW5XOt+WdKmZXWxmZ0t6n6TZf2HvkfSb0vQ7\ndMfcfbTL6yrCglmY2TpJX5H0IXd/soA19sqCWbj7q9t/LtFkj//xJTjspc7+jtwt6SozO9PMztXk\ni3RL8X0tnWTxqKRrJKndWb9G0g96usreMc39f7aZ5mZXr/B9jjdgmdlvTX7bb3X3r5rZu83sCUnH\nNFllLDmdZCHpTySdL+mz7Svbk+6+5D50rsMsXnJIzxfZIx3+HXnMzHZK2itpQtKt7r6vwGV3RYc/\nFzdJus3M9mhyGP6hux8ubtXdYWZflLRB0iozG9Hk3UlnK+fc5I1XAFAR/CPmAFARDHwAqAgGPgBU\nBAMfACqCgQ8AFcHAB4CKYOADQEUw8AGgIv4PT8mX/sOFBA8AAAAASUVORK5CYII=\n", + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "beatles_df['neutral'].hist(alpha=0.5, color='blue')\n", + "radiohead_df['neutral'].hist(alpha=0.5, color='red')" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### Gloom index\n", + "Let's recreate the \"gloom index\" idea from the original post and see what it tells us. Bear in mind that I'm using the sentiment negativity score, not the fraction of \"sad\" words.\n", + "\n", + "* [Top](#top)" + ] + }, + { + "cell_type": "code", + "execution_count": 470, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
_idartist_namegloomlyrical_densitynamenegvalence
24766cuLvkHsW7dNkfNk6gQP9Radiohead1.5052621.991725A Wolf At the Door0.7933630.3630
30GRplBEB2FWCKutwMmS6nYThe Beatles1.4750371.853118Ticket To Ride - Live / Remastered0.8254390.4050
2295SdmtFbNOD7Qej6jFCHkOMRadiohead1.3989201.411166Faust Arp0.8385320.2240
683VgxeWOGdUYvtX1j8C9VyVThe Beatles1.3936971.708599I'm So Tired - Remastered 20090.8924890.6300
3286ZrPbHp9kRmQj1tGLvna8UThe Beatles1.2703270.874479Revolution 9 - Remastered 20090.8732850.0963
2785H9q6ctIlamkqukdTrNt3kThe Beatles1.2615392.616693Her Majesty - Remastered 20090.5566080.4900
1833aDUSpF3LexOr1lFKvPV2hRadiohead1.2397681.100731The Bends0.8542440.3150
170mNQUZEATk2uItMUtiLWK5The Beatles1.2136451.615224A Hard Day's Night - Remastered 20150.8333090.7520
820ttMfoND7IQqFSMVOPkELCThe Beatles1.2121480.799772Blue Jay Way - Remastered 20090.8124900.0380
1265ou2BiQ9FxIYkxsYvYHpATThe Beatles1.2103781.648037Help! - Remastered 20090.8239150.7610
\n", + "
" + ], + "text/plain": [ + " _id artist_name gloom lyrical_density \\\n", + "247 66cuLvkHsW7dNkfNk6gQP9 Radiohead 1.505262 1.991725 \n", + "3 0GRplBEB2FWCKutwMmS6nY The Beatles 1.475037 1.853118 \n", + "229 5SdmtFbNOD7Qej6jFCHkOM Radiohead 1.398920 1.411166 \n", + "68 3VgxeWOGdUYvtX1j8C9VyV The Beatles 1.393697 1.708599 \n", + "328 6ZrPbHp9kRmQj1tGLvna8U The Beatles 1.270327 0.874479 \n", + "278 5H9q6ctIlamkqukdTrNt3k The Beatles 1.261539 2.616693 \n", + "183 3aDUSpF3LexOr1lFKvPV2h Radiohead 1.239768 1.100731 \n", + "17 0mNQUZEATk2uItMUtiLWK5 The Beatles 1.213645 1.615224 \n", + "82 0ttMfoND7IQqFSMVOPkELC The Beatles 1.212148 0.799772 \n", + "126 5ou2BiQ9FxIYkxsYvYHpAT The Beatles 1.210378 1.648037 \n", + "\n", + " name neg valence \n", + "247 A Wolf At the Door 0.793363 0.3630 \n", + "3 Ticket To Ride - Live / Remastered 0.825439 0.4050 \n", + "229 Faust Arp 0.838532 0.2240 \n", + "68 I'm So Tired - Remastered 2009 0.892489 0.6300 \n", + "328 Revolution 9 - Remastered 2009 0.873285 0.0963 \n", + "278 Her Majesty - Remastered 2009 0.556608 0.4900 \n", + "183 The Bends 0.854244 0.3150 \n", + "17 A Hard Day's Night - Remastered 2015 0.833309 0.7520 \n", + "82 Blue Jay Way - Remastered 2009 0.812490 0.0380 \n", + "126 Help! - Remastered 2009 0.823915 0.7610 " + ] + }, + "execution_count": 470, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "pipeline = [\n", + " {'$match': {'lyrics': {'$exists': True}, 'sentiment': {'$exists': True}, 'valence': {'$exists': True}}},\n", + " {'$project': {'artist_name': '$artist_name',\n", + " 'name': '$name',\n", + " 'valence': '$valence',\n", + " 'neg': '$sentiment.probability.neg',\n", + " 'lyrical_density': '$lyrical_density',\n", + " 'gloom': {'$divide': [{'$add': [{'$subtract': [1, '$valence']},\n", + " {'$multiply': ['$sentiment.probability.neg', \n", + " {'$add': ['$lyrical_density', 1]}]}]}, \n", + " 2]}}}]\n", + "results = pd.DataFrame(list(tracks.aggregate(pipeline)))\n", + "results.sort_values('gloom', ascending=False).head(10)" + ] + }, + { + "cell_type": "code", + "execution_count": 471, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
_idartist_namegloomlyrical_densitynamenegvalence
6166cuLvkHsW7dNkfNk6gQP9Radiohead1.5052621.991725A Wolf At the Door0.7933630.3630
435SdmtFbNOD7Qej6jFCHkOMRadiohead1.3989201.411166Faust Arp0.8385320.2240
93aDUSpF3LexOr1lFKvPV2hRadiohead1.2397681.100731The Bends0.8542440.3150
340eZN5WsQfmNFICHuw59ZfzRadiohead1.1509020.705463Glass Eyes0.8001950.0629
203ovbSnT5NNhl1gzMcw1NRZRadiohead1.1421151.151468Thinking About You0.7916600.4190
11045sp2JToyTaaKyXkGejPyRadiohead1.0908130.581341Fake Plastic Trees0.8275420.1270
244D6ZExVvYLZxhcAvifX5pxRadiohead1.0740470.749795Prove Yourself0.8150060.2780
134SE81CrzH0qPA8KHqM9SyzRadiohead1.0649140.856048Just0.8091540.3720
44aOAzvRdOsZSwZIgwcdeL0Radiohead1.0638680.524102Let Down0.8258870.1310
2311qDTSr3Dj4TkPnBcIOqEJRadiohead1.0561870.711071Vegetable0.8832910.3990
\n", + "
" + ], + "text/plain": [ + " _id artist_name gloom lyrical_density \\\n", + "61 66cuLvkHsW7dNkfNk6gQP9 Radiohead 1.505262 1.991725 \n", + "43 5SdmtFbNOD7Qej6jFCHkOM Radiohead 1.398920 1.411166 \n", + "9 3aDUSpF3LexOr1lFKvPV2h Radiohead 1.239768 1.100731 \n", + "34 0eZN5WsQfmNFICHuw59Zfz Radiohead 1.150902 0.705463 \n", + "20 3ovbSnT5NNhl1gzMcw1NRZ Radiohead 1.142115 1.151468 \n", + "11 045sp2JToyTaaKyXkGejPy Radiohead 1.090813 0.581341 \n", + "24 4D6ZExVvYLZxhcAvifX5px Radiohead 1.074047 0.749795 \n", + "13 4SE81CrzH0qPA8KHqM9Syz Radiohead 1.064914 0.856048 \n", + "4 4aOAzvRdOsZSwZIgwcdeL0 Radiohead 1.063868 0.524102 \n", + "23 11qDTSr3Dj4TkPnBcIOqEJ Radiohead 1.056187 0.711071 \n", + "\n", + " name neg valence \n", + "61 A Wolf At the Door 0.793363 0.3630 \n", + "43 Faust Arp 0.838532 0.2240 \n", + "9 The Bends 0.854244 0.3150 \n", + "34 Glass Eyes 0.800195 0.0629 \n", + "20 Thinking About You 0.791660 0.4190 \n", + "11 Fake Plastic Trees 0.827542 0.1270 \n", + "24 Prove Yourself 0.815006 0.2780 \n", + "13 Just 0.809154 0.3720 \n", + "4 Let Down 0.825887 0.1310 \n", + "23 Vegetable 0.883291 0.3990 " + ] + }, + "execution_count": 471, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "pipeline = [\n", + " {'$match': {'lyrics': {'$exists': True}, 'sentiment': {'$exists': True}, 'valence': {'$exists': True},\n", + " 'artist_id': radiohead_id}},\n", + " {'$project': {'artist_name': '$artist_name',\n", + " 'name': '$name',\n", + " 'valence': '$valence',\n", + " 'neg': '$sentiment.probability.neg',\n", + " 'lyrical_density': '$lyrical_density',\n", + " 'gloom': {'$divide': [{'$add': [{'$subtract': [1, '$valence']},\n", + " {'$multiply': ['$sentiment.probability.neg', \n", + " {'$add': ['$lyrical_density', 1]}]}]}, \n", + " 2]}}}]\n", + "results = pd.DataFrame(list(tracks.aggregate(pipeline)))\n", + "results.sort_values('gloom', ascending=False).head(10)" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "These, in theory, are the most depressing Radiohead songs. For information, the [fitteR happieR songs](http://rcharlie.com/2017-02-16-fitteR-happieR/) were:\n", + "\n", + " | gloom_index| track_name\n", + "--|------------|--------------------------|\n", + "1 | 1.00 | True Love Waits\n", + "2 | 6.46 | Give Up The Ghost\n", + "3 | 9.35 | Motion Picture Soundtrack\n", + "4 | 13.70 | Let Down\n", + "5 | 14.15 | Pyramid Song\n", + "6 | 14.57 | Exit Music (For a Film)\n", + "7 | 15.29 | Dollars & Cents\n", + "8 | 15.69 | High And Dry\n", + "9 | 15.80 | Tinker Tailor Soldier ...\n", + "10| 16.03 | Videotape\n", + "\n", + "...which has only one song in common, \"Let Down\". I'm not convinced by this analysis.\n", + "\n", + "What does the same analysis say for The Beatles?" + ] + }, + { + "cell_type": "code", + "execution_count": 472, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
_idartist_namegloomlyrical_densitynamenegvalence
30GRplBEB2FWCKutwMmS6nYThe Beatles1.4750371.853118Ticket To Ride - Live / Remastered0.8254390.4050
673VgxeWOGdUYvtX1j8C9VyVThe Beatles1.3936971.708599I'm So Tired - Remastered 20090.8924890.6300
2266ZrPbHp9kRmQj1tGLvna8UThe Beatles1.2703270.874479Revolution 9 - Remastered 20090.8732850.0963
2015H9q6ctIlamkqukdTrNt3kThe Beatles1.2615392.616693Her Majesty - Remastered 20090.5566080.4900
170mNQUZEATk2uItMUtiLWK5The Beatles1.2136451.615224A Hard Day's Night - Remastered 20150.8333090.7520
810ttMfoND7IQqFSMVOPkELCThe Beatles1.2121480.799772Blue Jay Way - Remastered 20090.8124900.0380
1255ou2BiQ9FxIYkxsYvYHpATThe Beatles1.2103781.648037Help! - Remastered 20090.8239150.7610
91alcPfZWUHh01l4Fnoo5JtThe Beatles1.2034161.332561Help! - Live / Remastered0.8239150.5150
1642Iccm3cKBQHWt5yk0yX9nhThe Beatles1.2001581.530785Please Please Me - Remastered 20090.8330680.7080
211dfuJYDSIc41cw5RPsaCF1The Beatles1.1874381.651824Help! - Remastered 20150.8239150.8100
\n", + "
" + ], + "text/plain": [ + " _id artist_name gloom lyrical_density \\\n", + "3 0GRplBEB2FWCKutwMmS6nY The Beatles 1.475037 1.853118 \n", + "67 3VgxeWOGdUYvtX1j8C9VyV The Beatles 1.393697 1.708599 \n", + "226 6ZrPbHp9kRmQj1tGLvna8U The Beatles 1.270327 0.874479 \n", + "201 5H9q6ctIlamkqukdTrNt3k The Beatles 1.261539 2.616693 \n", + "17 0mNQUZEATk2uItMUtiLWK5 The Beatles 1.213645 1.615224 \n", + "81 0ttMfoND7IQqFSMVOPkELC The Beatles 1.212148 0.799772 \n", + "125 5ou2BiQ9FxIYkxsYvYHpAT The Beatles 1.210378 1.648037 \n", + "9 1alcPfZWUHh01l4Fnoo5Jt The Beatles 1.203416 1.332561 \n", + "164 2Iccm3cKBQHWt5yk0yX9nh The Beatles 1.200158 1.530785 \n", + "21 1dfuJYDSIc41cw5RPsaCF1 The Beatles 1.187438 1.651824 \n", + "\n", + " name neg valence \n", + "3 Ticket To Ride - Live / Remastered 0.825439 0.4050 \n", + "67 I'm So Tired - Remastered 2009 0.892489 0.6300 \n", + "226 Revolution 9 - Remastered 2009 0.873285 0.0963 \n", + "201 Her Majesty - Remastered 2009 0.556608 0.4900 \n", + "17 A Hard Day's Night - Remastered 2015 0.833309 0.7520 \n", + "81 Blue Jay Way - Remastered 2009 0.812490 0.0380 \n", + "125 Help! - Remastered 2009 0.823915 0.7610 \n", + "9 Help! - Live / Remastered 0.823915 0.5150 \n", + "164 Please Please Me - Remastered 2009 0.833068 0.7080 \n", + "21 Help! - Remastered 2015 0.823915 0.8100 " + ] + }, + "execution_count": 472, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "pipeline = [\n", + " {'$match': {'lyrics': {'$exists': True}, 'sentiment': {'$exists': True}, 'valence': {'$exists': True},\n", + " 'artist_id': beatles_id}},\n", + " {'$project': {'artist_name': '$artist_name',\n", + " 'name': '$name',\n", + " 'valence': '$valence',\n", + " 'neg': '$sentiment.probability.neg',\n", + " 'lyrical_density': '$lyrical_density',\n", + " 'gloom': {'$divide': [{'$add': [{'$subtract': [1, '$valence']},\n", + " {'$multiply': ['$sentiment.probability.neg', \n", + " {'$add': ['$lyrical_density', 1]}]}]}, \n", + " 2]}}}]\n", + "results = pd.DataFrame(list(tracks.aggregate(pipeline)))\n", + "results.sort_values('gloom', ascending=False).head(10)" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### Revised gloom index\n", + "I don't like the calculation for gloom index. If the point of \"lyrical density\" is to scale the gloom index between valence and sentiment, depending on how many words are in the song.\n", + "\n", + "* [Top](#top)" + ] + }, + { + "cell_type": "code", + "execution_count": 473, + "metadata": { + "collapsed": false, + "scrolled": true + }, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
_idartist_namelyrical_densitynamenegvalencescaled_ldgloom
3314gq2bc2770XvbJdEtfUbmwRadiohead0.201546Go Slowly0.7237740.04530.0396190.472775
27975YUnz58ajMo2VIIuUFvOVRadiohead0.248061The Tourist0.6678640.04000.0566580.471724
30901ZpFhrMMqKPVCwyqXneVpRadiohead0.218723True Love Waits0.5322060.03780.0459110.471229
3155olWalQH1oVza5D6xJg4oXRadiohead0.216752Sail To The Moon0.6057980.04580.0451890.469228
31753RYTfkLiyZuUZHwJC3WmmRadiohead0.276367We Suck Young Blood0.5353580.03780.0670270.466795
3304sLGaMl33I6mcsk7u4xHAURadiohead0.146307Codex0.6379420.06290.0193850.465650
820ttMfoND7IQqFSMVOPkELCThe Beatles0.799772Blue Jay Way - Remastered 20090.8124900.03800.2587550.461657
3260COiZ7ncho2yi4HotbzgPvRadiohead0.349157Motion Picture Soundtrack0.5768080.04250.0936900.460916
2323uxhyRdWVXp7GQvERQl6fARadiohead0.382643Videotape0.6529620.04680.1059570.460694
2657wB2VenWR6rchtLwawreIgRadiohead0.359311Bullet Proof ... I Wish I Was0.8046360.07810.0974100.455239
\n", + "
" + ], + "text/plain": [ + " _id artist_name lyrical_density \\\n", + "331 4gq2bc2770XvbJdEtfUbmw Radiohead 0.201546 \n", + "279 75YUnz58ajMo2VIIuUFvOV Radiohead 0.248061 \n", + "309 01ZpFhrMMqKPVCwyqXneVp Radiohead 0.218723 \n", + "315 5olWalQH1oVza5D6xJg4oX Radiohead 0.216752 \n", + "317 53RYTfkLiyZuUZHwJC3Wmm Radiohead 0.276367 \n", + "330 4sLGaMl33I6mcsk7u4xHAU Radiohead 0.146307 \n", + "82 0ttMfoND7IQqFSMVOPkELC The Beatles 0.799772 \n", + "326 0COiZ7ncho2yi4HotbzgPv Radiohead 0.349157 \n", + "232 3uxhyRdWVXp7GQvERQl6fA Radiohead 0.382643 \n", + "265 7wB2VenWR6rchtLwawreIg Radiohead 0.359311 \n", + "\n", + " name neg valence scaled_ld gloom \n", + "331 Go Slowly 0.723774 0.0453 0.039619 0.472775 \n", + "279 The Tourist 0.667864 0.0400 0.056658 0.471724 \n", + "309 True Love Waits 0.532206 0.0378 0.045911 0.471229 \n", + "315 Sail To The Moon 0.605798 0.0458 0.045189 0.469228 \n", + "317 We Suck Young Blood 0.535358 0.0378 0.067027 0.466795 \n", + "330 Codex 0.637942 0.0629 0.019385 0.465650 \n", + "82 Blue Jay Way - Remastered 2009 0.812490 0.0380 0.258755 0.461657 \n", + "326 Motion Picture Soundtrack 0.576808 0.0425 0.093690 0.460916 \n", + "232 Videotape 0.652962 0.0468 0.105957 0.460694 \n", + "265 Bullet Proof ... I Wish I Was 0.804636 0.0781 0.097410 0.455239 " + ] + }, + "execution_count": 473, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "pipeline = [\n", + " {'$match': {'lyrics': {'$exists': True}, 'sentiment': {'$exists': True}, 'valence': {'$exists': True}}},\n", + " {'$project': {'artist_name': '$artist_name',\n", + " 'name': '$name',\n", + " 'valence': '$valence',\n", + " 'neg': '$sentiment.probability.neg',\n", + " 'lyrical_density': '$lyrical_density'}}]\n", + "results = pd.DataFrame(list(tracks.aggregate(pipeline)))\n", + "\n", + "# Use pandas to scale the lyrical density values to the range 0 -1\n", + "results['scaled_ld'] = (results['lyrical_density'] - results['lyrical_density'].min()) / \\\n", + " (results['lyrical_density'].max() - results['lyrical_density'].min())\n", + "\n", + "# Define a Python function to calculate the revised gloom index\n", + "def gloom(row):\n", + " w_valence = (1 - row['valence']) * (1 - row['scaled_ld'])\n", + " w_neg = row['neg'] * row['scaled_ld']\n", + " return (w_valence + w_neg) / 2\n", + "\n", + "# Apply this function to create a new column\n", + "results['gloom'] = results.apply(gloom, axis=1)\n", + "\n", + "# Push the results back into the database\n", + "for row in results.itertuples():\n", + " tracks.update_one({'_id': row[1]}, {'$set': {'gloom': row.gloom}})\n", + "\n", + "results.sort_values('gloom', ascending=False).head(10)" + ] + }, + { + "cell_type": "code", + "execution_count": 474, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
_idartist_namelyrical_densitynamenegvalencescaled_ldgloom
3314gq2bc2770XvbJdEtfUbmwRadiohead0.201546Go Slowly0.7237740.04530.0396190.472775
27975YUnz58ajMo2VIIuUFvOVRadiohead0.248061The Tourist0.6678640.04000.0566580.471724
30901ZpFhrMMqKPVCwyqXneVpRadiohead0.218723True Love Waits0.5322060.03780.0459110.471229
3155olWalQH1oVza5D6xJg4oXRadiohead0.216752Sail To The Moon0.6057980.04580.0451890.469228
31753RYTfkLiyZuUZHwJC3WmmRadiohead0.276367We Suck Young Blood0.5353580.03780.0670270.466795
3304sLGaMl33I6mcsk7u4xHAURadiohead0.146307Codex0.6379420.06290.0193850.465650
3260COiZ7ncho2yi4HotbzgPvRadiohead0.349157Motion Picture Soundtrack0.5768080.04250.0936900.460916
2323uxhyRdWVXp7GQvERQl6fARadiohead0.382643Videotape0.6529620.04680.1059570.460694
2657wB2VenWR6rchtLwawreIgRadiohead0.359311Bullet Proof ... I Wish I Was0.8046360.07810.0974100.455239
2515AiNZnMDCWwujIENPj9PV9Radiohead0.489208Everything In Its Right Place0.7168290.05850.1449920.454462
\n", + "
" + ], + "text/plain": [ + " _id artist_name lyrical_density \\\n", + "331 4gq2bc2770XvbJdEtfUbmw Radiohead 0.201546 \n", + "279 75YUnz58ajMo2VIIuUFvOV Radiohead 0.248061 \n", + "309 01ZpFhrMMqKPVCwyqXneVp Radiohead 0.218723 \n", + "315 5olWalQH1oVza5D6xJg4oX Radiohead 0.216752 \n", + "317 53RYTfkLiyZuUZHwJC3Wmm Radiohead 0.276367 \n", + "330 4sLGaMl33I6mcsk7u4xHAU Radiohead 0.146307 \n", + "326 0COiZ7ncho2yi4HotbzgPv Radiohead 0.349157 \n", + "232 3uxhyRdWVXp7GQvERQl6fA Radiohead 0.382643 \n", + "265 7wB2VenWR6rchtLwawreIg Radiohead 0.359311 \n", + "251 5AiNZnMDCWwujIENPj9PV9 Radiohead 0.489208 \n", + "\n", + " name neg valence scaled_ld gloom \n", + "331 Go Slowly 0.723774 0.0453 0.039619 0.472775 \n", + "279 The Tourist 0.667864 0.0400 0.056658 0.471724 \n", + "309 True Love Waits 0.532206 0.0378 0.045911 0.471229 \n", + "315 Sail To The Moon 0.605798 0.0458 0.045189 0.469228 \n", + "317 We Suck Young Blood 0.535358 0.0378 0.067027 0.466795 \n", + "330 Codex 0.637942 0.0629 0.019385 0.465650 \n", + "326 Motion Picture Soundtrack 0.576808 0.0425 0.093690 0.460916 \n", + "232 Videotape 0.652962 0.0468 0.105957 0.460694 \n", + "265 Bullet Proof ... I Wish I Was 0.804636 0.0781 0.097410 0.455239 \n", + "251 Everything In Its Right Place 0.716829 0.0585 0.144992 0.454462 " + ] + }, + "execution_count": 474, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "results[results['artist_name'] == 'Radiohead'].sort_values('gloom', ascending=False).head(10)" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "This still isn't the same as the original list, though there are now two songs in common!\n", + "\n", + "\n", + " | gloom_index | track_name\n", + "--|-------------|--------------------------\n", + "1 | 1.00 | True Love Waits\n", + "2 | 6.46 | Give Up The Ghost\n", + "3 | 9.35 | Motion Picture Soundtrack\n", + "4 | 13.70 | Let Down\n", + "5 | 14.15 | Pyramid Song\n", + "6 | 14.57 | Exit Music (For a Film)\n", + "7 | 15.29 | Dollars & Cents\n", + "8 | 15.69 | High And Dry\n", + "9 | 15.80 | Tinker Tailor Soldier ...\n", + "10| 16.03 | Videotape\n" + ] + }, + { + "cell_type": "code", + "execution_count": 475, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
_idartist_namelyrical_densitynamenegvalencescaled_ldgloom
820ttMfoND7IQqFSMVOPkELCThe Beatles0.799772Blue Jay Way - Remastered 20090.8124900.03800.2587550.461657
3286ZrPbHp9kRmQj1tGLvna8UThe Beatles0.874479Revolution 9 - Remastered 20090.8732850.09630.2861210.447499
02ucFulEWapRAmTn7l6f5Q7The Beatles0.169898Wild Honey Pie - Remastered 20090.3911780.15300.0280260.417113
1023ZFBeIyP41HhnALjxWy1pRThe Beatles0.628310A Day In The Life - Remastered 20090.7812960.16200.1959470.413445
2040agoaPIy92gPZ6zRhqXarEThe Beatles0.634931Tomorrow Never Knows - Remastered 20090.3435990.05560.1983720.412609
28527YZJHyTTDIurMqDu1v2efThe Beatles0.429399Long, Long, Long - Remastered 20090.5241220.13500.1230840.411522
2714cLoL5KPfE1hAwfsO84FX7The Beatles0.325955Because - Remastered 20090.4662540.16200.0851910.403165
5371Ij3VBYQWMrng61Ae4tBuThe Beatles0.592658You Never Give Me Your Money - Remastered 20090.7534480.22600.1828870.385121
2723jPXnX4SskFgAcC4YBKOwNThe Beatles0.273472Sun King - Remastered 20090.3008090.19700.0659660.384936
347iABnSNZciNepqGtjMQxxdThe Beatles0.800176Come Together - Remastered 20150.5625520.17800.2589030.377414
\n", + "
" + ], + "text/plain": [ + " _id artist_name lyrical_density \\\n", + "82 0ttMfoND7IQqFSMVOPkELC The Beatles 0.799772 \n", + "328 6ZrPbHp9kRmQj1tGLvna8U The Beatles 0.874479 \n", + "0 2ucFulEWapRAmTn7l6f5Q7 The Beatles 0.169898 \n", + "102 3ZFBeIyP41HhnALjxWy1pR The Beatles 0.628310 \n", + "204 0agoaPIy92gPZ6zRhqXarE The Beatles 0.634931 \n", + "285 27YZJHyTTDIurMqDu1v2ef The Beatles 0.429399 \n", + "271 4cLoL5KPfE1hAwfsO84FX7 The Beatles 0.325955 \n", + "53 71Ij3VBYQWMrng61Ae4tBu The Beatles 0.592658 \n", + "272 3jPXnX4SskFgAcC4YBKOwN The Beatles 0.273472 \n", + "34 7iABnSNZciNepqGtjMQxxd The Beatles 0.800176 \n", + "\n", + " name neg valence \\\n", + "82 Blue Jay Way - Remastered 2009 0.812490 0.0380 \n", + "328 Revolution 9 - Remastered 2009 0.873285 0.0963 \n", + "0 Wild Honey Pie - Remastered 2009 0.391178 0.1530 \n", + "102 A Day In The Life - Remastered 2009 0.781296 0.1620 \n", + "204 Tomorrow Never Knows - Remastered 2009 0.343599 0.0556 \n", + "285 Long, Long, Long - Remastered 2009 0.524122 0.1350 \n", + "271 Because - Remastered 2009 0.466254 0.1620 \n", + "53 You Never Give Me Your Money - Remastered 2009 0.753448 0.2260 \n", + "272 Sun King - Remastered 2009 0.300809 0.1970 \n", + "34 Come Together - Remastered 2015 0.562552 0.1780 \n", + "\n", + " scaled_ld gloom \n", + "82 0.258755 0.461657 \n", + "328 0.286121 0.447499 \n", + "0 0.028026 0.417113 \n", + "102 0.195947 0.413445 \n", + "204 0.198372 0.412609 \n", + "285 0.123084 0.411522 \n", + "271 0.085191 0.403165 \n", + "53 0.182887 0.385121 \n", + "272 0.065966 0.384936 \n", + "34 0.258903 0.377414 " + ] + }, + "execution_count": 475, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "results[results['artist_name'] == 'The Beatles'].sort_values('gloom', ascending=False).head(10)" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "I don't know the Radiohead corpus, but I know some Beatles songs. _Blue Jay Way_ is pretty sad, as is _A Day in the Life_. _Revolution 9_ and _Wild Honey Pie_ are just... odd, rather than sad. It's suspicious that some obviously sad Beatles songs are missing. What does this analysis think of unequivocally sad songs like _She's Leaving Home_, _Yesterday_, and _Eleanor Rigby_?" + ] + }, + { + "cell_type": "code", + "execution_count": 477, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
_idartist_namelyrical_densitynamenegvalencescaled_ldgloom
1361e0hllQ23AG0QGFgezgLOqThe Beatles1.002650Yesterday - Remastered 20090.8521560.3330.3330710.364335
951Ipl1kvks5s6GKn6oqgzeYThe Beatles1.064324She's Leaving Home - Remastered 20090.7645530.3770.3556630.336673
260TRkjwb4uY3CHb5zhr9bBdThe Beatles1.628703Eleanor Rigby - Remastered 20150.8032320.8450.5624010.259783
\n", + "
" + ], + "text/plain": [ + " _id artist_name lyrical_density \\\n", + "136 1e0hllQ23AG0QGFgezgLOq The Beatles 1.002650 \n", + "95 1Ipl1kvks5s6GKn6oqgzeY The Beatles 1.064324 \n", + "26 0TRkjwb4uY3CHb5zhr9bBd The Beatles 1.628703 \n", + "\n", + " name neg valence scaled_ld \\\n", + "136 Yesterday - Remastered 2009 0.852156 0.333 0.333071 \n", + "95 She's Leaving Home - Remastered 2009 0.764553 0.377 0.355663 \n", + "26 Eleanor Rigby - Remastered 2015 0.803232 0.845 0.562401 \n", + "\n", + " gloom \n", + "136 0.364335 \n", + "95 0.336673 \n", + "26 0.259783 " + ] + }, + "execution_count": 477, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "slh = tracks.find_one({'ctitle': 'shes leaving home'})['_id']\n", + "yd = tracks.find_one({'ctitle': 'yesterday'})['_id']\n", + "er = tracks.find_one({'ctitle': 'eleanor rigby'})['_id']\n", + "results[results['_id'].isin([slh, yd, er])].sort_values('gloom', ascending=False)" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### Glee index: anti-gloom\n", + "Rather than looking at the saddest songs, how about using the same data to find the happiest songs?\n", + "\n", + "* [Top](#top)" + ] + }, + { + "cell_type": "code", + "execution_count": 478, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
_idartist_namelyrical_densitynamenegvalencescaled_ldgloom
633fuEJBCK3kWnJHFTODR4cbThe Beatles1.608806Ob-La-Di, Ob-La-Da - Remastered 20090.0809690.9750.5551120.028035
16016aAwvjzWhM4Cgg5RYz2fAThe Beatles0.884919Money (That's What I Want) - Remastered 20090.2084690.9200.2899450.058624
573TEbDhNDU4NDXq0h86nGZ7The Beatles1.008850Hey Bulldog - Remastered 20090.2391980.9420.3353420.059382
3005VsIn7QQqcacePIb0vO0owThe Beatles0.465201Not A Second Time - Remastered 20090.7738050.9610.1361980.069540
2034KIXWIzNcKzorNDgvMQwmDThe Beatles0.631592Birthday - Remastered 20090.3737310.9160.1971490.070560
2107cPPyMrSAQY7A686Cn9eUPThe Beatles0.891649All My Loving - Remastered 20090.2350230.8910.2924110.072925
2933EbGioQyKyf4dycuiPOg3kThe Beatles0.438356Everybody's Trying To Be My Baby - Remastered ...0.8669850.9370.1263650.082298
440cJ053ljI4BuP5P8tJnK5jThe Beatles0.893485For You Blue - Remastered 20090.4718270.9580.2930830.083988
2996xJSJpO6HJwHhu7UaIc8qRThe Beatles0.585885Hold Me Tight - Remastered 20090.8048700.9630.1804060.087764
3972Ob0wrObCXgvGYhFs8vipThe Beatles0.938049Across The Universe - Remastered 20090.2955250.8620.3094080.093370
\n", + "
" + ], + "text/plain": [ + " _id artist_name lyrical_density \\\n", + "63 3fuEJBCK3kWnJHFTODR4cb The Beatles 1.608806 \n", + "160 16aAwvjzWhM4Cgg5RYz2fA The Beatles 0.884919 \n", + "57 3TEbDhNDU4NDXq0h86nGZ7 The Beatles 1.008850 \n", + "300 5VsIn7QQqcacePIb0vO0ow The Beatles 0.465201 \n", + "203 4KIXWIzNcKzorNDgvMQwmD The Beatles 0.631592 \n", + "210 7cPPyMrSAQY7A686Cn9eUP The Beatles 0.891649 \n", + "293 3EbGioQyKyf4dycuiPOg3k The Beatles 0.438356 \n", + "44 0cJ053ljI4BuP5P8tJnK5j The Beatles 0.893485 \n", + "299 6xJSJpO6HJwHhu7UaIc8qR The Beatles 0.585885 \n", + "39 72Ob0wrObCXgvGYhFs8vip The Beatles 0.938049 \n", + "\n", + " name neg valence \\\n", + "63 Ob-La-Di, Ob-La-Da - Remastered 2009 0.080969 0.975 \n", + "160 Money (That's What I Want) - Remastered 2009 0.208469 0.920 \n", + "57 Hey Bulldog - Remastered 2009 0.239198 0.942 \n", + "300 Not A Second Time - Remastered 2009 0.773805 0.961 \n", + "203 Birthday - Remastered 2009 0.373731 0.916 \n", + "210 All My Loving - Remastered 2009 0.235023 0.891 \n", + "293 Everybody's Trying To Be My Baby - Remastered ... 0.866985 0.937 \n", + "44 For You Blue - Remastered 2009 0.471827 0.958 \n", + "299 Hold Me Tight - Remastered 2009 0.804870 0.963 \n", + "39 Across The Universe - Remastered 2009 0.295525 0.862 \n", + "\n", + " scaled_ld gloom \n", + "63 0.555112 0.028035 \n", + "160 0.289945 0.058624 \n", + "57 0.335342 0.059382 \n", + "300 0.136198 0.069540 \n", + "203 0.197149 0.070560 \n", + "210 0.292411 0.072925 \n", + "293 0.126365 0.082298 \n", + "44 0.293083 0.083988 \n", + "299 0.180406 0.087764 \n", + "39 0.309408 0.093370 " + ] + }, + "execution_count": 478, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "results.sort_values('gloom', ascending=True).head(10)" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "All the top ten most gleeful songs are from The Beatles!\n", + "\n", + "What about the most gleeful Radiohead songs?" + ] + }, + { + "cell_type": "code", + "execution_count": 479, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
_idartist_namelyrical_densitynamenegvalencescaled_ldgloom
490eECFDnWy0RdjMmJ8NOeALRadiohead0.093389Feral0.4652160.7510.0000000.124500
2256dsq7Nt5mIFzvm5kIYNORyRadiohead0.67427215 Step0.8354880.8480.2127830.148717
24377SPrxY5gn6VPrKPGrfLnMRadiohead0.438813There, There0.8355410.7260.1265320.172527
2406CVdTDYoDbwYj4xn8u5GhaRadiohead0.452573Backdrifts0.8215320.7240.1315730.173889
23115ea10YpJIl3mJq75yzqsDRadiohead0.952216Jigsaw Falling Into Place0.7572250.8180.3145970.181482
2366P67UTTr5qN7XYSSlj0n6XRadiohead0.503609Paperbag Writer0.7546800.7040.1502680.182462
3273OsUjkcv1C1v5udFhgRSFgRadiohead0.329999Airbag0.6423480.6420.0866730.191323
18053aFGAl0Vebwp2bo8wtdWRRadiohead2.019892Fitter Happier0.4468410.7280.7056970.197693
2373STByesnbcQatiGHgwi1TvRadiohead0.622541I Am a Wicked Child0.7637060.6880.1938340.199778
3083pcCifdPTc2BbqmWpEhtUdRadiohead0.439692Burn the Witch0.5826020.6250.1268540.200668
\n", + "
" + ], + "text/plain": [ + " _id artist_name lyrical_density \\\n", + "49 0eECFDnWy0RdjMmJ8NOeAL Radiohead 0.093389 \n", + "225 6dsq7Nt5mIFzvm5kIYNORy Radiohead 0.674272 \n", + "243 77SPrxY5gn6VPrKPGrfLnM Radiohead 0.438813 \n", + "240 6CVdTDYoDbwYj4xn8u5Gha Radiohead 0.452573 \n", + "231 15ea10YpJIl3mJq75yzqsD Radiohead 0.952216 \n", + "236 6P67UTTr5qN7XYSSlj0n6X Radiohead 0.503609 \n", + "327 3OsUjkcv1C1v5udFhgRSFg Radiohead 0.329999 \n", + "180 53aFGAl0Vebwp2bo8wtdWR Radiohead 2.019892 \n", + "237 3STByesnbcQatiGHgwi1Tv Radiohead 0.622541 \n", + "308 3pcCifdPTc2BbqmWpEhtUd Radiohead 0.439692 \n", + "\n", + " name neg valence scaled_ld gloom \n", + "49 Feral 0.465216 0.751 0.000000 0.124500 \n", + "225 15 Step 0.835488 0.848 0.212783 0.148717 \n", + "243 There, There 0.835541 0.726 0.126532 0.172527 \n", + "240 Backdrifts 0.821532 0.724 0.131573 0.173889 \n", + "231 Jigsaw Falling Into Place 0.757225 0.818 0.314597 0.181482 \n", + "236 Paperbag Writer 0.754680 0.704 0.150268 0.182462 \n", + "327 Airbag 0.642348 0.642 0.086673 0.191323 \n", + "180 Fitter Happier 0.446841 0.728 0.705697 0.197693 \n", + "237 I Am a Wicked Child 0.763706 0.688 0.193834 0.199778 \n", + "308 Burn the Witch 0.582602 0.625 0.126854 0.200668 " + ] + }, + "execution_count": 479, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "results[results['artist_name'] == 'Radiohead'].sort_values('gloom', ascending=True).head(10)" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### Contrasting songs\n", + "Going back to the scatter plot of negativity against valence, there are some songs with a high valence (i.e. sound happy) with a high negativity (i.e. sad words). This seems unusual. What songs are they?\n", + "\n", + "* [Top](#top)\n", + "\n", + "These are the songs I mean:" + ] + }, + { + "cell_type": "code", + "execution_count": 480, + "metadata": { + "collapsed": false + }, + "outputs":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GPxZo1dZb9t0XX1KHGmOOADuBYESnN\njnkI8F1jzJHAW8BZxf2/KO6fAvwV8EqNdBQldVKdzVVRUuZXWMJwd/HvF7AqTTeIyF8DQ8D+IrKv\nMaZ8NuEuIC8iy7AmR9sdOBRrvYDnjDGPFo9bCvxFcTr6/U1xYkBjzFYAEXFLZ1GM16wonlGBUJqZ\n3wPfEpEOoM0Ys1xEpgP7AB3GmKHilNQjbb8TrKUzfzRsp+Wm2lK2a3vZb51m2XRMR1GygrqYlKbF\nGLMRGMSa2fXO4u49gT8XxeFkrDWWS5QK+X7gCyKyO1gr1YnI+2zHlJ/nHeAFETmjeHyriLTVSEdR\nUkdbEEqz80vgd8DfFz//ArhbRFZiLWRTvt6CATDGzBeRSVgrugFsAM7Fckm59XT6PPBDEfkasBX4\ndJV01kZ3eYoSHJ3uW1EURXFEXUyKoiiKIyoQiqIoiiMqEIqiKIojKhCKoiiKIyoQiqIoiiMqEIqi\nKIojKhCKoiiKIyoQiqIoiiP/D342Fc6fjQRMAAAAAElFTkSuQmCC\n", + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "plt.scatter(beatles_df['valence'], beatles_df['neg'], color='blue')\n", + "plt.scatter(radiohead_df['valence'], radiohead_df['neg'], color='red')\n", + "plt.xlabel('Valence')\n", + "plt.ylabel('Sentiment negativity')\n", + "\n", + "ax = plt.gca()\n", + "circ = plt.Circle((0.9, 0.8), radius=0.15, color='g', fill=False, linewidth=5)\n", + "ax.add_patch(circ)\n", + "\n", + "plt.show()" + ] + }, + { + "cell_type": "code", + "execution_count": 481, + "metadata": { + "collapsed": false, + "scrolled": true + }, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
_idartist_namelyrical_densitynamenegvalencescaled_ldgloom
167pQAq14Z73YUFMtxCyt0bGThe Beatles1.516618Can't Buy Me Love - Remastered 20150.7383870.9570.5213430.202768
211dfuJYDSIc41cw5RPsaCF1The Beatles1.651824Help! - Remastered 20150.8239150.8100.5708700.275942
260TRkjwb4uY3CHb5zhr9bBdThe Beatles1.628703Eleanor Rigby - Remastered 20150.8032320.8450.5624010.259783
3757n1teNb2tkcfiYagPmUWrThe Beatles0.885556Two Of Us - Remastered 20090.7110800.9230.2901790.130498
424311wT21Et0q3vepFwXjTuThe Beatles0.718556One After 909 - Remastered 20090.8657370.9040.2290050.136137
713OSi8ehmSWLTD5KatlzX8rThe Beatles0.733338Don't Pass Me By - Remastered 20090.8578310.9480.2344200.120451
10477f3aNeabAbOaSB32Sd5QEThe Beatles1.620131Eleanor Rigby - Remastered 20090.8032320.8210.5592610.264054
13267tvBtAhsfHBFpuqJ13ZUqThe Beatles0.924368Act Naturally - Remastered 20090.7226190.9460.3043960.128762
1331k9tpndMDRwLkNt67Dlg02The Beatles1.408837You Like Me Too Much - Remastered 20090.7734060.9000.4818620.212244
13567VdmhC89bZ6yK2XRys0lAThe Beatles1.087652I've Just Seen A Face - Remastered 20090.8052040.9170.3642080.173016
138009oOX7tpCPLzRL9AFiBS8The Beatles1.242035No Reply - Remastered 20090.7819420.8730.4207610.201287
1395zs8tSd7ZvwBgr4NUmF5zMThe Beatles0.959827I'm A Loser - Remastered 20090.8121140.8430.3173850.182462
1403mKtIanz0poYgLnRxZrfBOThe Beatles1.501767Baby's In Black - Remastered 20090.8200880.8620.5159030.244945
14433BGv6xzxHh5E7v3r1hJLLThe Beatles1.314197I Don't Want To Spoil The Party - Remastered 20090.8178010.8960.4471940.211604
14569d54YOS8TOQiUYjX57XeAThe Beatles1.601816A Hard Day's Night - Remastered 20090.8333090.8020.5525520.274521
1497KmRz1oKEwgj9qpfn72OfOThe Beatles1.509096Can't Buy Me Love - Remastered 20090.7383870.8540.5185880.226602
1503Aqo28W4LLAolYpN3duVJlThe Beatles1.349222I'll Cry Instead - Remastered 20090.8637720.9610.4600240.209207
1524dyALlslhDEzwSEr7GteXaThe Beatles1.246021You Can't Do That - Remastered 20090.7274560.9620.4222210.164551
1545tNjuWwp6FxuWCrKQAMBTjThe Beatles0.959614It Won't Be Long - Remastered 20090.7833880.8680.3173070.169345
1550lLeGCsQlAbEjQBPQQxQ1bThe Beatles0.998293Don't Bother Me - Remastered 20090.8248790.9210.3314760.163120
1565IIBY9M2GxHcVja6DA6wsFThe Beatles1.362221Please Mister Postman - Remastered 20090.8152010.9620.4647860.199616
1593Ltllbv2lbpjP6NgPMNiFgThe Beatles1.101133Devil In Her Heart - Remastered 20090.7792200.9640.3691470.155179
2014zExFATo8xg8qFfR4H1ZAnThe Beatles1.364176Why Don't We Do It In The Road? - Remastered 20090.7932420.9510.4655020.197723
2091JPTCjLHEtqofOFmHsfiAHThe Beatles1.036117All I've Got To Do - Remastered 20090.7211910.8760.3453310.165114
2256dsq7Nt5mIFzvm5kIYNORyRadiohead0.67427215 Step0.8354880.8480.2127830.148717
23115ea10YpJIl3mJq75yzqsDRadiohead0.952216Jigsaw Falling Into Place0.7572250.8180.3145970.181482
27367jL5ZAf8hNsRZrfBHNuBTThe Beatles1.277562Mean Mr Mustard - Remastered 20090.7006310.9670.4337740.161301
2922YHzfuuDFXzoELxJnqM4atThe Beatles0.626500What You're Doing - Remastered 20090.7519890.8310.1952840.141424
2933EbGioQyKyf4dycuiPOg3kThe Beatles0.438356Everybody's Trying To Be My Baby - Remastered ...0.8669850.9370.1263650.082298
2954G5YzDD1nCUPwt5y1LQovFThe Beatles0.901370Tell Me Why - Remastered 20090.8499700.8190.2959720.189498
29755nE9EppLFdb0I1HBg2O2mThe Beatles0.695489Little Child - Remastered 20090.8488860.8780.2205550.141159
2996xJSJpO6HJwHhu7UaIc8qRThe Beatles0.585885Hold Me Tight - Remastered 20090.8048700.9630.1804060.087764
3005VsIn7QQqcacePIb0vO0owThe Beatles0.465201Not A Second Time - Remastered 20090.7738050.9610.1361980.069540
30133OXG0RTtw0ycGza22tnF6The Beatles1.022599Misery - Remastered 20090.8142300.9020.3403790.170895
\n", + "
" + ], + "text/plain": [ + " _id artist_name lyrical_density \\\n", + "16 7pQAq14Z73YUFMtxCyt0bG The Beatles 1.516618 \n", + "21 1dfuJYDSIc41cw5RPsaCF1 The Beatles 1.651824 \n", + "26 0TRkjwb4uY3CHb5zhr9bBd The Beatles 1.628703 \n", + "37 57n1teNb2tkcfiYagPmUWr The Beatles 0.885556 \n", + "42 4311wT21Et0q3vepFwXjTu The Beatles 0.718556 \n", + "71 3OSi8ehmSWLTD5KatlzX8r The Beatles 0.733338 \n", + "104 77f3aNeabAbOaSB32Sd5QE The Beatles 1.620131 \n", + "132 67tvBtAhsfHBFpuqJ13ZUq The Beatles 0.924368 \n", + "133 1k9tpndMDRwLkNt67Dlg02 The Beatles 1.408837 \n", + "135 67VdmhC89bZ6yK2XRys0lA The Beatles 1.087652 \n", + "138 009oOX7tpCPLzRL9AFiBS8 The Beatles 1.242035 \n", + "139 5zs8tSd7ZvwBgr4NUmF5zM The Beatles 0.959827 \n", + "140 3mKtIanz0poYgLnRxZrfBO The Beatles 1.501767 \n", + "144 33BGv6xzxHh5E7v3r1hJLL The Beatles 1.314197 \n", + "145 69d54YOS8TOQiUYjX57XeA The Beatles 1.601816 \n", + "149 7KmRz1oKEwgj9qpfn72OfO The Beatles 1.509096 \n", + "150 3Aqo28W4LLAolYpN3duVJl The Beatles 1.349222 \n", + "152 4dyALlslhDEzwSEr7GteXa The Beatles 1.246021 \n", + "154 5tNjuWwp6FxuWCrKQAMBTj The Beatles 0.959614 \n", + "155 0lLeGCsQlAbEjQBPQQxQ1b The Beatles 0.998293 \n", + "156 5IIBY9M2GxHcVja6DA6wsF The Beatles 1.362221 \n", + "159 3Ltllbv2lbpjP6NgPMNiFg The Beatles 1.101133 \n", + "201 4zExFATo8xg8qFfR4H1ZAn The Beatles 1.364176 \n", + "209 1JPTCjLHEtqofOFmHsfiAH The Beatles 1.036117 \n", + "225 6dsq7Nt5mIFzvm5kIYNORy Radiohead 0.674272 \n", + "231 15ea10YpJIl3mJq75yzqsD Radiohead 0.952216 \n", + "273 67jL5ZAf8hNsRZrfBHNuBT The Beatles 1.277562 \n", + "292 2YHzfuuDFXzoELxJnqM4at The Beatles 0.626500 \n", + "293 3EbGioQyKyf4dycuiPOg3k The Beatles 0.438356 \n", + "295 4G5YzDD1nCUPwt5y1LQovF The Beatles 0.901370 \n", + "297 55nE9EppLFdb0I1HBg2O2m The Beatles 0.695489 \n", + "299 6xJSJpO6HJwHhu7UaIc8qR The Beatles 0.585885 \n", + "300 5VsIn7QQqcacePIb0vO0ow The Beatles 0.465201 \n", + "301 33OXG0RTtw0ycGza22tnF6 The Beatles 1.022599 \n", + "\n", + " name neg valence \\\n", + "16 Can't Buy Me Love - Remastered 2015 0.738387 0.957 \n", + "21 Help! - Remastered 2015 0.823915 0.810 \n", + "26 Eleanor Rigby - Remastered 2015 0.803232 0.845 \n", + "37 Two Of Us - Remastered 2009 0.711080 0.923 \n", + "42 One After 909 - Remastered 2009 0.865737 0.904 \n", + "71 Don't Pass Me By - Remastered 2009 0.857831 0.948 \n", + "104 Eleanor Rigby - Remastered 2009 0.803232 0.821 \n", + "132 Act Naturally - Remastered 2009 0.722619 0.946 \n", + "133 You Like Me Too Much - Remastered 2009 0.773406 0.900 \n", + "135 I've Just Seen A Face - Remastered 2009 0.805204 0.917 \n", + "138 No Reply - Remastered 2009 0.781942 0.873 \n", + "139 I'm A Loser - Remastered 2009 0.812114 0.843 \n", + "140 Baby's In Black - Remastered 2009 0.820088 0.862 \n", + "144 I Don't Want To Spoil The Party - Remastered 2009 0.817801 0.896 \n", + "145 A Hard Day's Night - Remastered 2009 0.833309 0.802 \n", + "149 Can't Buy Me Love - Remastered 2009 0.738387 0.854 \n", + "150 I'll Cry Instead - Remastered 2009 0.863772 0.961 \n", + "152 You Can't Do That - Remastered 2009 0.727456 0.962 \n", + "154 It Won't Be Long - Remastered 2009 0.783388 0.868 \n", + "155 Don't Bother Me - Remastered 2009 0.824879 0.921 \n", + "156 Please Mister Postman - Remastered 2009 0.815201 0.962 \n", + "159 Devil In Her Heart - Remastered 2009 0.779220 0.964 \n", + "201 Why Don't We Do It In The Road? - Remastered 2009 0.793242 0.951 \n", + "209 All I've Got To Do - Remastered 2009 0.721191 0.876 \n", + "225 15 Step 0.835488 0.848 \n", + "231 Jigsaw Falling Into Place 0.757225 0.818 \n", + "273 Mean Mr Mustard - Remastered 2009 0.700631 0.967 \n", + "292 What You're Doing - Remastered 2009 0.751989 0.831 \n", + "293 Everybody's Trying To Be My Baby - Remastered ... 0.866985 0.937 \n", + "295 Tell Me Why - Remastered 2009 0.849970 0.819 \n", + "297 Little Child - Remastered 2009 0.848886 0.878 \n", + "299 Hold Me Tight - Remastered 2009 0.804870 0.963 \n", + "300 Not A Second Time - Remastered 2009 0.773805 0.961 \n", + "301 Misery - Remastered 2009 0.814230 0.902 \n", + "\n", + " scaled_ld gloom \n", + "16 0.521343 0.202768 \n", + "21 0.570870 0.275942 \n", + "26 0.562401 0.259783 \n", + "37 0.290179 0.130498 \n", + "42 0.229005 0.136137 \n", + "71 0.234420 0.120451 \n", + "104 0.559261 0.264054 \n", + "132 0.304396 0.128762 \n", + "133 0.481862 0.212244 \n", + "135 0.364208 0.173016 \n", + "138 0.420761 0.201287 \n", + "139 0.317385 0.182462 \n", + "140 0.515903 0.244945 \n", + "144 0.447194 0.211604 \n", + "145 0.552552 0.274521 \n", + "149 0.518588 0.226602 \n", + "150 0.460024 0.209207 \n", + "152 0.422221 0.164551 \n", + "154 0.317307 0.169345 \n", + "155 0.331476 0.163120 \n", + "156 0.464786 0.199616 \n", + "159 0.369147 0.155179 \n", + "201 0.465502 0.197723 \n", + "209 0.345331 0.165114 \n", + "225 0.212783 0.148717 \n", + "231 0.314597 0.181482 \n", + "273 0.433774 0.161301 \n", + "292 0.195284 0.141424 \n", + "293 0.126365 0.082298 \n", + "295 0.295972 0.189498 \n", + "297 0.220555 0.141159 \n", + "299 0.180406 0.087764 \n", + "300 0.136198 0.069540 \n", + "301 0.340379 0.170895 " + ] + }, + "execution_count": 481, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "results[(results['valence'] > 0.8) & (results['neg'] > 0.7)]" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "That's intersting. This list contains a lot of the Beatles' most well-known songs. Is there something in this?\n", + "\n", + "Let's define \"complexity\" as the product of valence and negativity, and see which are the most complext songs." + ] + }, + { + "cell_type": "code", + "execution_count": 484, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
_idartist_namelyrical_densitynamenegvalencescaled_ldgloomcomplexity
1503Aqo28W4LLAolYpN3duVJlThe Beatles1.349222I'll Cry Instead - Remastered 20090.8637720.9610.4600240.2092070.830085
713OSi8ehmSWLTD5KatlzX8rThe Beatles0.733338Don't Pass Me By - Remastered 20090.8578310.9480.2344200.1204510.813223
2933EbGioQyKyf4dycuiPOg3kThe Beatles0.438356Everybody's Trying To Be My Baby - Remastered ...0.8669850.9370.1263650.0822980.812365
1565IIBY9M2GxHcVja6DA6wsFThe Beatles1.362221Please Mister Postman - Remastered 20090.8152010.9620.4647860.1996160.784223
424311wT21Et0q3vepFwXjTuThe Beatles0.718556One After 909 - Remastered 20090.8657370.9040.2290050.1361370.782626
2996xJSJpO6HJwHhu7UaIc8qRThe Beatles0.585885Hold Me Tight - Remastered 20090.8048700.9630.1804060.0877640.775090
1550lLeGCsQlAbEjQBPQQxQ1bThe Beatles0.998293Don't Bother Me - Remastered 20090.8248790.9210.3314760.1631200.759713
2014zExFATo8xg8qFfR4H1ZAnThe Beatles1.364176Why Don't We Do It In The Road? - Remastered 20090.7932420.9510.4655020.1977230.754373
1593Ltllbv2lbpjP6NgPMNiFgThe Beatles1.101133Devil In Her Heart - Remastered 20090.7792200.9640.3691470.1551790.751168
29755nE9EppLFdb0I1HBg2O2mThe Beatles0.695489Little Child - Remastered 20090.8488860.8780.2205550.1411590.745322
\n", + "
" + ], + "text/plain": [ + " _id artist_name lyrical_density \\\n", + "150 3Aqo28W4LLAolYpN3duVJl The Beatles 1.349222 \n", + "71 3OSi8ehmSWLTD5KatlzX8r The Beatles 0.733338 \n", + "293 3EbGioQyKyf4dycuiPOg3k The Beatles 0.438356 \n", + "156 5IIBY9M2GxHcVja6DA6wsF The Beatles 1.362221 \n", + "42 4311wT21Et0q3vepFwXjTu The Beatles 0.718556 \n", + "299 6xJSJpO6HJwHhu7UaIc8qR The Beatles 0.585885 \n", + "155 0lLeGCsQlAbEjQBPQQxQ1b The Beatles 0.998293 \n", + "201 4zExFATo8xg8qFfR4H1ZAn The Beatles 1.364176 \n", + "159 3Ltllbv2lbpjP6NgPMNiFg The Beatles 1.101133 \n", + "297 55nE9EppLFdb0I1HBg2O2m The Beatles 0.695489 \n", + "\n", + " name neg valence \\\n", + "150 I'll Cry Instead - Remastered 2009 0.863772 0.961 \n", + "71 Don't Pass Me By - Remastered 2009 0.857831 0.948 \n", + "293 Everybody's Trying To Be My Baby - Remastered ... 0.866985 0.937 \n", + "156 Please Mister Postman - Remastered 2009 0.815201 0.962 \n", + "42 One After 909 - Remastered 2009 0.865737 0.904 \n", + "299 Hold Me Tight - Remastered 2009 0.804870 0.963 \n", + "155 Don't Bother Me - Remastered 2009 0.824879 0.921 \n", + "201 Why Don't We Do It In The Road? - Remastered 2009 0.793242 0.951 \n", + "159 Devil In Her Heart - Remastered 2009 0.779220 0.964 \n", + "297 Little Child - Remastered 2009 0.848886 0.878 \n", + "\n", + " scaled_ld gloom complexity \n", + "150 0.460024 0.209207 0.830085 \n", + "71 0.234420 0.120451 0.813223 \n", + "293 0.126365 0.082298 0.812365 \n", + "156 0.464786 0.199616 0.784223 \n", + "42 0.229005 0.136137 0.782626 \n", + "299 0.180406 0.087764 0.775090 \n", + "155 0.331476 0.163120 0.759713 \n", + "201 0.465502 0.197723 0.754373 \n", + "159 0.369147 0.155179 0.751168 \n", + "297 0.220555 0.141159 0.745322 " + ] + }, + "execution_count": 484, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "results['complexity'] = results['valence'] * results['neg']\n", + "results.sort_values('complexity', ascending=False).head(10)" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "There's possibly something in it. The most \"complex\" song has a very upbeat pop tune and very sad lyrics. The others are similarly interesting.\n", + "\n", + "What about the least \"complex\" songs?" + ] + }, + { + "cell_type": "code", + "execution_count": 485, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
_idartist_namelyrical_densitynamenegvalencescaled_ldgloomcomplexity
2226f6pEjgfTtuRROmJ4a7Gf3Radiohead0.393192The Numbers0.2920080.05450.1098210.4368660.015914
2040agoaPIy92gPZ6zRhqXarEThe Beatles0.634931Tomorrow Never Knows - Remastered 20090.3435990.05560.1983720.4126090.019104
30901ZpFhrMMqKPVCwyqXneVpRadiohead0.218723True Love Waits0.5322060.03780.0459110.4712290.020117
31753RYTfkLiyZuUZHwJC3WmmRadiohead0.276367We Suck Young Blood0.5353580.03780.0670270.4667950.020237
3260COiZ7ncho2yi4HotbzgPvRadiohead0.349157Motion Picture Soundtrack0.5768080.04250.0936900.4609160.024514
2243cual6JOG286qZJmCxKRATRadiohead0.332577Tinker Tailor Soldier Sailor Rich Man Poor Man...0.4773220.05170.0876170.4535170.024678
27975YUnz58ajMo2VIIuUFvOVRadiohead0.248061The Tourist0.6678640.04000.0566580.4717240.026715
3155olWalQH1oVza5D6xJg4oXRadiohead0.216752Sail To The Moon0.6057980.04580.0451890.4692280.027746
2323uxhyRdWVXp7GQvERQl6fARadiohead0.382643Videotape0.6529620.04680.1059570.4606940.030559
820ttMfoND7IQqFSMVOPkELCThe Beatles0.799772Blue Jay Way - Remastered 20090.8124900.03800.2587550.4616570.030875
\n", + "
" + ], + "text/plain": [ + " _id artist_name lyrical_density \\\n", + "222 6f6pEjgfTtuRROmJ4a7Gf3 Radiohead 0.393192 \n", + "204 0agoaPIy92gPZ6zRhqXarE The Beatles 0.634931 \n", + "309 01ZpFhrMMqKPVCwyqXneVp Radiohead 0.218723 \n", + "317 53RYTfkLiyZuUZHwJC3Wmm Radiohead 0.276367 \n", + "326 0COiZ7ncho2yi4HotbzgPv Radiohead 0.349157 \n", + "224 3cual6JOG286qZJmCxKRAT Radiohead 0.332577 \n", + "279 75YUnz58ajMo2VIIuUFvOV Radiohead 0.248061 \n", + "315 5olWalQH1oVza5D6xJg4oX Radiohead 0.216752 \n", + "232 3uxhyRdWVXp7GQvERQl6fA Radiohead 0.382643 \n", + "82 0ttMfoND7IQqFSMVOPkELC The Beatles 0.799772 \n", + "\n", + " name neg valence \\\n", + "222 The Numbers 0.292008 0.0545 \n", + "204 Tomorrow Never Knows - Remastered 2009 0.343599 0.0556 \n", + "309 True Love Waits 0.532206 0.0378 \n", + "317 We Suck Young Blood 0.535358 0.0378 \n", + "326 Motion Picture Soundtrack 0.576808 0.0425 \n", + "224 Tinker Tailor Soldier Sailor Rich Man Poor Man... 0.477322 0.0517 \n", + "279 The Tourist 0.667864 0.0400 \n", + "315 Sail To The Moon 0.605798 0.0458 \n", + "232 Videotape 0.652962 0.0468 \n", + "82 Blue Jay Way - Remastered 2009 0.812490 0.0380 \n", + "\n", + " scaled_ld gloom complexity \n", + "222 0.109821 0.436866 0.015914 \n", + "204 0.198372 0.412609 0.019104 \n", + "309 0.045911 0.471229 0.020117 \n", + "317 0.067027 0.466795 0.020237 \n", + "326 0.093690 0.460916 0.024514 \n", + "224 0.087617 0.453517 0.024678 \n", + "279 0.056658 0.471724 0.026715 \n", + "315 0.045189 0.469228 0.027746 \n", + "232 0.105957 0.460694 0.030559 \n", + "82 0.258755 0.461657 0.030875 " + ] + }, + "execution_count": 485, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "results.sort_values('complexity', ascending=True).head(10)" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Interestingly, all of the \"complex\" songs are by The Beatles, while most of the least \"complex\" songs are by Radiohead. How true is that for all songs?" + ] + }, + { + "cell_type": "code", + "execution_count": 486, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/plain": [ + "" + ] + }, + "execution_count": 486, + "metadata": {}, + "output_type": "execute_result" + }, + { + "data": { + "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXUAAAEACAYAAABMEua6AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAH0xJREFUeJzt3X+wXHd53/H3Y8vWyMjVFVGxKEZcCEb8KEJ2gZAxU8sG\nBgFprPEfHSAKLKFp/wCCIbQ1mUZWVEoM47pyJ0M75YevI5XSGVwLG0owxl6CTEwC1loGO4odskii\nXglJltCPK0uWnv5xz16uru6P7557zu5zz/m8Zu5oz+7Z/X727N5H5z773XPM3RERkWq4YNABRESk\nOCrqIiIVoqIuIlIhKuoiIhWioi4iUiEq6iIiFZJc1M3sAjN7xMzuyZaXmtl9ZrbLzL5lZkvKiyki\nIil62VP/KPD4hOWbgPvdfSXwAPDJIoOJiEjvkoq6mV0OvBP4woSrrwfuzC7fCawrNpqIiPQqdU/9\nvwD/Fpj49dPL3H0fgLt3gBcUnE1ERHo0a1E3s3cB+9y9BdgMq+p4AyIiA7YgYZ2rgd82s3cCi4BL\nzWwL0DGzy9x9n5ktB/ZPdWczU7EXEcnB3WfakZ7SrHvq7v5H7r7C3V8GvBt4wN1/F7gXaGSrvR/4\n2gyPEern5ptvHniG+ZApai5lUqY65MprLvPUbwHeZma7gLdky/NCu90edITzRMwEMXMpUxplShc1\nVx4p7Zdx7v5d4LvZ5UPAW8sIJSIi+dTyG6WNRmPQEc4TMRPEzKVMaZQpXdRcedh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XSMt0NfCfANz9783sH4BX\nAj8cVCZ3Pwr8Xnc5y/TTGR+1oIb/hfyq4X8xYw3/V01a55386oPSN1H+B4CzZpqw7s3AH5aZp4ft\ntAJ4EnhT2Xl6yPTrEy5fBfz9oDNNWv8O+vNBacq2umzC5TcC7QCZXgl8O1v3Esb2+F496NePsQ9w\nDwKLgrx2/xm4ufs6MtYaef6AMy0BLsou/z4wMuvjFhhwLWPfMH0SuCm77t8A/3rCOn+WPYlHgav6\n8ELOmGnCC3cYOATsBhYPONPnszf6I4z9qfXXAbbTvwN+nGX6HvD6QWeatO6X6ENRT9xWH8q21Q7g\n+8BvDDpTtvwJxmbA7AQ+EiTT+4Ev9+N1S3ztlgH3ZvVpJ2PfkB90pjdltz/B2KSAJbM9pr58JCJS\nIbU8R6mISFWpqIuIVIiKuohIhaioi4hUiIq6iEiFqKiLiFSIirqISIWoqIuIVMj/B+PDfO2O/v57\nAAAAAElFTkSuQmCC\n", + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "results[results['artist_name'] == 'The Beatles']['complexity'].hist(alpha=0.5, color='blue')\n", + "results[results['artist_name'] == 'Radiohead']['complexity'].hist(alpha=0.5, color='red')" + ] + }, + { + "cell_type": "code", + "execution_count": 487, + "metadata": { + "collapsed": false, + "scrolled": true + }, + "outputs": [], + "source": [ + "# Push the results back into the database\n", + "for row in results.itertuples():\n", + " tracks.update_one({'_id': row[1]}, {'$set': {'complexity': row.complexity}})" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### Average gloom per album\n", + "How close can we easily get to the final plot at the end of the fitteR happieR post?\n", + "\n", + "First, we find average gloom per album.\n", + "\n", + "* [Top](#top)" + ] + }, + { + "cell_type": "code", + "execution_count": 488, + "metadata": { + "collapsed": false, + "scrolled": true + }, + "outputs": [ + { + "data": { + "text/plain": [ + "defaultdict(int,\n", + " {'03Qh833fEdVT30Pfs93ea6': 0.24623580565335346,\n", + " '0PYyrqs9NXtxPhf0CZkq2L': 0.23500175198141865,\n", + " '19K3IHYeVkUTjcBHGfbCOi': 0.22062175593822883,\n", + " '19RUXBFyM4PpmrLRdtqWbp': 0.3431302979758603,\n", + " '1DBkJIEoeHrTX4WCBQGcCi': 0.28205809775367074,\n", + " '1PULmKbHeOqlkIwcDMNwD4': 0.2284613266716491,\n", + " '1oW3v5Har9mvXnGk0x4fHm': 0.3137553965448286,\n", + " '2Pqkn9Dq2DFtdfkKAeqgMd': 0.2884934384506727,\n", + " '2pCqZLeavM2BMovJXsJEIV': 0.21860763995041954,\n", + " '36lJLPoPPOKNFddTAcirnc': 0.3821905201779125,\n", + " '3OdI6e43crvyAHhaqpxSyz': 0.21217853501580114,\n", + " '3nkEsxmIX0zRNXGAexaHAn': 0.15002262857925622,\n", + " '47bcKzmKgmMPHXNVOWpLiu': 0.17887638062333686,\n", + " '500FEaUzn8lN9zWFyZG5C2': 0.3411762104912796,\n", + " '5XfJmldgWzrc1AIdbBaVZn': 0.25065567867237876,\n", + " '5ju5Ouzan3QwXqQt1Tihbh': 0.22362482844412274,\n", + " '6400dnyeDyD2mIFHfkwHXN': 0.34531516064731943,\n", + " '6Eo5EkmdLvZrONzi046iC2': 0.25747581401566805,\n", + " '6P9yO0ukhOx3dvmhGKeYoC': 0.2684584850649835,\n", + " '6V9YnBmFjWmXCBaUVRCVXP': 0.373616798392821,\n", + " '6vuykQgDLUCiZ7YggIpLM9': 0.3823911679811044,\n", + " '71Mwd9tntFQYUk4k2DwA0D': 0.21540669157651765,\n", + " '7BgGBZndAvDlKOcwe5rscZ': 0.1751092911259364,\n", + " '7dxKtc08dYeRVHt3p9CZJn': 0.3527181960532056,\n", + " '7eyQXxuf2nGj9d2367Gi5f': 0.3242377357445757,\n", + " '7gDXyW16byCQOgK965BRzn': 0.17842009876737236})" + ] + }, + "execution_count": 488, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "pipeline = [\n", + " {'$match': {'gloom': {'$exists': True}}},\n", + " {'$group': {'_id': '$album.id', 'avg_gloom': {'$avg': '$gloom'}}}]\n", + "album_glooms = collections.defaultdict(int, {a['_id']: a['avg_gloom'] for a in tracks.aggregate(pipeline)})\n", + "album_glooms" + ] + }, + { + "cell_type": "code", + "execution_count": 489, + "metadata": { + "collapsed": false, + "scrolled": true + }, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
_idartist_namenamerelease_dategloom
157gDXyW16byCQOgK965BRznThe BeatlesPlease Please Me (Remastered)1963-03-220.178420
143nkEsxmIX0zRNXGAexaHAnThe BeatlesWith The Beatles (Remastered)1963-11-220.150023
1271Mwd9tntFQYUk4k2DwA0DThe BeatlesA Hard Day's Night (Remastered)1964-07-100.215407
117BgGBZndAvDlKOcwe5rscZThe BeatlesBeatles For Sale (Remastered)1964-12-040.175109
1019K3IHYeVkUTjcBHGfbCOiThe BeatlesHelp! (Remastered)1965-08-060.220622
93OdI6e43crvyAHhaqpxSyzThe BeatlesRubber Soul (Remastered)1965-12-030.212179
80PYyrqs9NXtxPhf0CZkq2LThe BeatlesRevolver (Remastered)1966-08-050.235002
71PULmKbHeOqlkIwcDMNwD4The BeatlesSgt. Pepper's Lonely Hearts Club Band (Remaste...1967-06-010.228461
66P9yO0ukhOx3dvmhGKeYoCThe BeatlesMagical Mystery Tour (Remastered)1967-11-270.268458
503Qh833fEdVT30Pfs93ea6The BeatlesThe Beatles (Remastered)1968-11-220.246236
447bcKzmKgmMPHXNVOWpLiuThe BeatlesYellow Submarine (Remastered)1969-01-170.178876
32Pqkn9Dq2DFtdfkKAeqgMdThe BeatlesAbbey Road (Remastered)1969-09-260.288493
22pCqZLeavM2BMovJXsJEIVThe BeatlesLet It Be (Remastered)1970-05-080.218608
276400dnyeDyD2mIFHfkwHXNRadioheadPablo Honey1993-02-220.345315
26500FEaUzn8lN9zWFyZG5C2RadioheadThe Bends1995-03-280.341176
257dxKtc08dYeRVHt3p9CZJnRadioheadOK Computer1997-05-280.352718
2419RUXBFyM4PpmrLRdtqWbpRadioheadKid A2000-10-010.343130
15ju5Ouzan3QwXqQt1TihbhThe Beatles1 (Remastered)2000-11-130.223625
226svTt5o2lUgIrgYDKVmdnDRadioheadI Might Be Wrong2001-01-010.000000
236V9YnBmFjWmXCBaUVRCVXPRadioheadAmnesiac2001-03-120.373617
211oW3v5Har9mvXnGk0x4fHmRadioheadHail To the Thief2003-01-010.313755
206Eo5EkmdLvZrONzi046iC2RadioheadCom Lag: 2+2=52004-03-240.257476
1936lJLPoPPOKNFddTAcirncRadioheadIn Rainbows Disk 22007-01-010.382191
187eyQXxuf2nGj9d2367Gi5fRadioheadIn Rainbows2007-12-280.324238
131DBkJIEoeHrTX4WCBQGcCiRadioheadThe King Of Limbs2011-02-180.282058
1747xaqCsJcYFWqD1gwujl1TRadioheadTKOL RMX 12345672011-10-100.000000
166vuykQgDLUCiZ7YggIpLM9RadioheadA Moon Shaped Pool2016-05-080.382391
05XfJmldgWzrc1AIdbBaVZnThe BeatlesLive At The Hollywood Bowl2016-09-090.250656
\n", + "
" + ], + "text/plain": [ + " _id artist_name \\\n", + "15 7gDXyW16byCQOgK965BRzn The Beatles \n", + "14 3nkEsxmIX0zRNXGAexaHAn The Beatles \n", + "12 71Mwd9tntFQYUk4k2DwA0D The Beatles \n", + "11 7BgGBZndAvDlKOcwe5rscZ The Beatles \n", + "10 19K3IHYeVkUTjcBHGfbCOi The Beatles \n", + "9 3OdI6e43crvyAHhaqpxSyz The Beatles \n", + "8 0PYyrqs9NXtxPhf0CZkq2L The Beatles \n", + "7 1PULmKbHeOqlkIwcDMNwD4 The Beatles \n", + "6 6P9yO0ukhOx3dvmhGKeYoC The Beatles \n", + "5 03Qh833fEdVT30Pfs93ea6 The Beatles \n", + "4 47bcKzmKgmMPHXNVOWpLiu The Beatles \n", + "3 2Pqkn9Dq2DFtdfkKAeqgMd The Beatles \n", + "2 2pCqZLeavM2BMovJXsJEIV The Beatles \n", + "27 6400dnyeDyD2mIFHfkwHXN Radiohead \n", + "26 500FEaUzn8lN9zWFyZG5C2 Radiohead \n", + "25 7dxKtc08dYeRVHt3p9CZJn Radiohead \n", + "24 19RUXBFyM4PpmrLRdtqWbp Radiohead \n", + "1 5ju5Ouzan3QwXqQt1Tihbh The Beatles \n", + "22 6svTt5o2lUgIrgYDKVmdnD Radiohead \n", + "23 6V9YnBmFjWmXCBaUVRCVXP Radiohead \n", + "21 1oW3v5Har9mvXnGk0x4fHm Radiohead \n", + "20 6Eo5EkmdLvZrONzi046iC2 Radiohead \n", + "19 36lJLPoPPOKNFddTAcirnc Radiohead \n", + "18 7eyQXxuf2nGj9d2367Gi5f Radiohead \n", + "13 1DBkJIEoeHrTX4WCBQGcCi Radiohead \n", + "17 47xaqCsJcYFWqD1gwujl1T Radiohead \n", + "16 6vuykQgDLUCiZ7YggIpLM9 Radiohead \n", + "0 5XfJmldgWzrc1AIdbBaVZn The Beatles \n", + "\n", + " name release_date gloom \n", + "15 Please Please Me (Remastered) 1963-03-22 0.178420 \n", + "14 With The Beatles (Remastered) 1963-11-22 0.150023 \n", + "12 A Hard Day's Night (Remastered) 1964-07-10 0.215407 \n", + "11 Beatles For Sale (Remastered) 1964-12-04 0.175109 \n", + "10 Help! (Remastered) 1965-08-06 0.220622 \n", + "9 Rubber Soul (Remastered) 1965-12-03 0.212179 \n", + "8 Revolver (Remastered) 1966-08-05 0.235002 \n", + "7 Sgt. Pepper's Lonely Hearts Club Band (Remaste... 1967-06-01 0.228461 \n", + "6 Magical Mystery Tour (Remastered) 1967-11-27 0.268458 \n", + "5 The Beatles (Remastered) 1968-11-22 0.246236 \n", + "4 Yellow Submarine (Remastered) 1969-01-17 0.178876 \n", + "3 Abbey Road (Remastered) 1969-09-26 0.288493 \n", + "2 Let It Be (Remastered) 1970-05-08 0.218608 \n", + "27 Pablo Honey 1993-02-22 0.345315 \n", + "26 The Bends 1995-03-28 0.341176 \n", + "25 OK Computer 1997-05-28 0.352718 \n", + "24 Kid A 2000-10-01 0.343130 \n", + "1 1 (Remastered) 2000-11-13 0.223625 \n", + "22 I Might Be Wrong 2001-01-01 0.000000 \n", + "23 Amnesiac 2001-03-12 0.373617 \n", + "21 Hail To the Thief 2003-01-01 0.313755 \n", + "20 Com Lag: 2+2=5 2004-03-24 0.257476 \n", + "19 In Rainbows Disk 2 2007-01-01 0.382191 \n", + "18 In Rainbows 2007-12-28 0.324238 \n", + "13 The King Of Limbs 2011-02-18 0.282058 \n", + "17 TKOL RMX 1234567 2011-10-10 0.000000 \n", + "16 A Moon Shaped Pool 2016-05-08 0.382391 \n", + "0 Live At The Hollywood Bowl 2016-09-09 0.250656 " + ] + }, + "execution_count": 489, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "albums_df = pd.DataFrame(list(albums.find({}, ['release_date', 'name', 'artist_name'])))\n", + "\n", + "def try_date(d):\n", + " try:\n", + " return datetime.strptime(d, \"%Y-%m-%d\")\n", + " except ValueError:\n", + " return datetime.strptime(d, \"%Y\")\n", + "\n", + "albums_df['release_date'] = albums_df['release_date'].apply(lambda d: try_date(d))\n", + "albums_df['gloom'] = albums_df['_id'].apply(lambda i: album_glooms[i])\n", + "albums_df.sort_values('release_date', inplace=True)\n", + "albums_df" + ] + }, + { + "cell_type": "code", + "execution_count": 490, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXcAAAD2CAYAAAAtW8c3AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAG6JJREFUeJzt3X+UXWV97/H3ZwKIA1avhYv3BkIUEn5YIcNoGguGY1li\ndK0aGru8wZ+XuWK4NsFcr0u8vYvFWP9olUqDl2ITmyAqNa6SBmiLr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plt.subplots()\n", + "ax.plot_date(albums_df['release_date'], albums_df['gloom'])\n", + "\n", + "fig.autofmt_xdate()\n", + "plt.show()" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "One thing that's noticable is the split in time between the groups, and the much shorter period the Beatles were active for." + ] + }, + { + "cell_type": "code", + "execution_count": 491, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
_idartist_namenamerelease_dategloom
157gDXyW16byCQOgK965BRznThe BeatlesPlease Please Me (Remastered)1963-03-220.178420
143nkEsxmIX0zRNXGAexaHAnThe BeatlesWith The Beatles (Remastered)1963-11-220.150023
1271Mwd9tntFQYUk4k2DwA0DThe BeatlesA Hard Day's Night (Remastered)1964-07-100.215407
117BgGBZndAvDlKOcwe5rscZThe BeatlesBeatles For Sale (Remastered)1964-12-040.175109
1019K3IHYeVkUTjcBHGfbCOiThe BeatlesHelp! (Remastered)1965-08-060.220622
93OdI6e43crvyAHhaqpxSyzThe BeatlesRubber Soul (Remastered)1965-12-030.212179
80PYyrqs9NXtxPhf0CZkq2LThe BeatlesRevolver (Remastered)1966-08-050.235002
71PULmKbHeOqlkIwcDMNwD4The BeatlesSgt. Pepper's Lonely Hearts Club Band (Remaste...1967-06-010.228461
66P9yO0ukhOx3dvmhGKeYoCThe BeatlesMagical Mystery Tour (Remastered)1967-11-270.268458
503Qh833fEdVT30Pfs93ea6The BeatlesThe Beatles (Remastered)1968-11-220.246236
447bcKzmKgmMPHXNVOWpLiuThe BeatlesYellow Submarine (Remastered)1969-01-170.178876
32Pqkn9Dq2DFtdfkKAeqgMdThe BeatlesAbbey Road (Remastered)1969-09-260.288493
22pCqZLeavM2BMovJXsJEIVThe BeatlesLet It Be (Remastered)1970-05-080.218608
\n", + "
" + ], + "text/plain": [ + " _id artist_name \\\n", + "15 7gDXyW16byCQOgK965BRzn The Beatles \n", + "14 3nkEsxmIX0zRNXGAexaHAn The Beatles \n", + "12 71Mwd9tntFQYUk4k2DwA0D The Beatles \n", + "11 7BgGBZndAvDlKOcwe5rscZ The Beatles \n", + "10 19K3IHYeVkUTjcBHGfbCOi The Beatles \n", + "9 3OdI6e43crvyAHhaqpxSyz The Beatles \n", + "8 0PYyrqs9NXtxPhf0CZkq2L The Beatles \n", + "7 1PULmKbHeOqlkIwcDMNwD4 The Beatles \n", + "6 6P9yO0ukhOx3dvmhGKeYoC The Beatles \n", + "5 03Qh833fEdVT30Pfs93ea6 The Beatles \n", + "4 47bcKzmKgmMPHXNVOWpLiu The Beatles \n", + "3 2Pqkn9Dq2DFtdfkKAeqgMd The Beatles \n", + "2 2pCqZLeavM2BMovJXsJEIV The Beatles \n", + "\n", + " name release_date gloom \n", + "15 Please Please Me (Remastered) 1963-03-22 0.178420 \n", + "14 With The Beatles (Remastered) 1963-11-22 0.150023 \n", + "12 A Hard Day's Night (Remastered) 1964-07-10 0.215407 \n", + "11 Beatles For Sale (Remastered) 1964-12-04 0.175109 \n", + "10 Help! (Remastered) 1965-08-06 0.220622 \n", + "9 Rubber Soul (Remastered) 1965-12-03 0.212179 \n", + "8 Revolver (Remastered) 1966-08-05 0.235002 \n", + "7 Sgt. Pepper's Lonely Hearts Club Band (Remaste... 1967-06-01 0.228461 \n", + "6 Magical Mystery Tour (Remastered) 1967-11-27 0.268458 \n", + "5 The Beatles (Remastered) 1968-11-22 0.246236 \n", + "4 Yellow Submarine (Remastered) 1969-01-17 0.178876 \n", + "3 Abbey Road (Remastered) 1969-09-26 0.288493 \n", + "2 Let It Be (Remastered) 1970-05-08 0.218608 " + ] + }, + "execution_count": 491, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "beatles_df = albums_df[albums_df['release_date'] < datetime(1971, 1, 1)]\n", + "beatles_df" + ] + }, + { + "cell_type": "code", + "execution_count": 492, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXEAAAD2CAYAAAAgRbdwAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJztnXl8FdX5/9/nAoFEFsuqyKLEra4EquBXLVG/IdoqCNr+\nsGrz1VZwA1sCBYtWXBBrxaK1LqgoLv2ildrGVgm4REtb/RoJVizuLYpaFVDqAgRyn98fZ0Julntz\nl1lvnvfrNa/cOXcy85m5M8+c85znPMeICIqiKEo0iQUtQFEURckeNeKKoigRRo24oihKhFEjriiK\nEmHUiCuKokQYNeKKoigRJi0jbow50RjzmjHmDWPMrDa+H2OM+cwYs9pZLnNfqqIoitKSzu1tYIyJ\nAbcAJwAfAC8aY/4gIq+12PQ5ERnngUZFURQlCenUxI8E3hSR9SKyA1gKjG9jO+OqMkVRFKVd0jHi\newHvJaxvcMpacpQxZo0x5k/GmINcUacoiqKkpF13Spq8BAwRka+MMScBvwf2d2nfiqIoShLSMeLv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MwiNnpPFm28K8GzC+pHAH0hoVoVhiYrOKGlVnapTdYZvyWhSCONk9jI2XeeH2ID4J4E3\nReTttHfkMVHRCdHRqjrdRXW6S1R0ekFGg32ci1SEHXF3BvCuiCwP20WKik6IjlbV6S6q012iotML\nssknfiG2J7hMnORWISUqOiE6WlWnu6hOd4mKTlfJeI5NE5Fk6VHRCdHRqjrdRXW6S1R0uo1OlKwo\nihJhwjZjjaIoipIBasQVRVEijBpxRVGUCKNGXFEUJcKoEVcURYkwasQVRVEijBpxRVGUCPP/AR7W\ncniwVSOpAAAAAElFTkSuQmCC\n", + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "fig, ax = plt.subplots()\n", + "ax.plot_date(beatles_df['release_date'].values, beatles_df['gloom'].values, linestyle='-')\n", + "\n", + "fig.autofmt_xdate()\n", + "\n", + "for a in beatles_df.itertuples():\n", + " for t in tracks.find({'album.id': a[1], 'gloom': {'$exists': True}}):\n", + " ax.scatter(a.release_date, t['gloom'])\n", + "\n", + "plt.show()" + ] + }, + { + "cell_type": "code", + "execution_count": 493, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
_idartist_namenamerelease_dategloom
276400dnyeDyD2mIFHfkwHXNRadioheadPablo Honey1993-02-220.345315
26500FEaUzn8lN9zWFyZG5C2RadioheadThe Bends1995-03-280.341176
257dxKtc08dYeRVHt3p9CZJnRadioheadOK Computer1997-05-280.352718
2419RUXBFyM4PpmrLRdtqWbpRadioheadKid A2000-10-010.343130
236V9YnBmFjWmXCBaUVRCVXPRadioheadAmnesiac2001-03-120.373617
211oW3v5Har9mvXnGk0x4fHmRadioheadHail To the Thief2003-01-010.313755
206Eo5EkmdLvZrONzi046iC2RadioheadCom Lag: 2+2=52004-03-240.257476
1936lJLPoPPOKNFddTAcirncRadioheadIn Rainbows Disk 22007-01-010.382191
187eyQXxuf2nGj9d2367Gi5fRadioheadIn Rainbows2007-12-280.324238
131DBkJIEoeHrTX4WCBQGcCiRadioheadThe King Of Limbs2011-02-180.282058
166vuykQgDLUCiZ7YggIpLM9RadioheadA Moon Shaped Pool2016-05-080.382391
\n", + "
" + ], + "text/plain": [ + " _id artist_name name release_date \\\n", + "27 6400dnyeDyD2mIFHfkwHXN Radiohead Pablo Honey 1993-02-22 \n", + "26 500FEaUzn8lN9zWFyZG5C2 Radiohead The Bends 1995-03-28 \n", + "25 7dxKtc08dYeRVHt3p9CZJn Radiohead OK Computer 1997-05-28 \n", + "24 19RUXBFyM4PpmrLRdtqWbp Radiohead Kid A 2000-10-01 \n", + "23 6V9YnBmFjWmXCBaUVRCVXP Radiohead Amnesiac 2001-03-12 \n", + "21 1oW3v5Har9mvXnGk0x4fHm Radiohead Hail To the Thief 2003-01-01 \n", + "20 6Eo5EkmdLvZrONzi046iC2 Radiohead Com Lag: 2+2=5 2004-03-24 \n", + "19 36lJLPoPPOKNFddTAcirnc Radiohead In Rainbows Disk 2 2007-01-01 \n", + "18 7eyQXxuf2nGj9d2367Gi5f Radiohead In Rainbows 2007-12-28 \n", + "13 1DBkJIEoeHrTX4WCBQGcCi Radiohead The King Of Limbs 2011-02-18 \n", + "16 6vuykQgDLUCiZ7YggIpLM9 Radiohead A Moon Shaped Pool 2016-05-08 \n", + "\n", + " gloom \n", + "27 0.345315 \n", + "26 0.341176 \n", + "25 0.352718 \n", + "24 0.343130 \n", + "23 0.373617 \n", + "21 0.313755 \n", + "20 0.257476 \n", + "19 0.382191 \n", + "18 0.324238 \n", + "13 0.282058 \n", + "16 0.382391 " + ] + }, + "execution_count": 493, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "radiohead_df = albums_df[(albums_df['artist_name'] == 'Radiohead') & (albums_df['gloom'] > 0)]\n", + "radiohead_df" + ] + }, + { + "cell_type": "code", + "execution_count": 494, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXcAAAD2CAYAAAAtW8c3AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJztnX+cVVXV8L9rwBFG8weMUKKiCf4qhYEEfFAZ1GGwt1CQ\nSlMbKQUzMHMsLOIVE0Mff0SiligiZYgpYryVM6A1FpUCw1hSIGJKgj4+CYbgjA7MrPePfYa5M8y9\nc3+ce869Z9b38zmfe84+Z5+z9jnnrrP32muvLaqKYRiGES0KwhbAMAzD8B9T7oZhGBHElLthGEYE\nMeVuGIYRQUy5G4ZhRBBT7oZhGBEkKeUuImNFZKOIbBKR6R3sHyUi/xGRdd7y/WTzGoZhGP4jnfm5\ni0gBsAk4F3gLWANcrKobY44ZBVSq6rhU8xqGYRj+k0zNfRjwqqpuUdU9wBLggg6OkwzyGoZhGD6S\njHLvB7wZs73VS2vPGSLykoj8RkROSTGvYRiG4SPdfTpPLXCMqtaLyPnA08AJPp3bMAzDSJFklPs2\n4JiY7aO8tH2o6u6Y9WdE5H4R6ZVM3hZExILcGIZhpIi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\nRKkskPvlCWyaPRG5AeeDO13dsNy8JkrlEReI7XLg7nwvC1h5cpkolQVyuzxBKvcCDXlIup9ErTyG\nYUQLmyDbMAwjguRM5D7DMAzDP0y5G4ZhRBBT7oZhGBHElLthGEYEMeVuGIYRQUy5G4ZhRBBT7oZh\nGBHk/wNCRIpm/I+JMAAAAABJRU5ErkJggg==\n", + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "fig, ax = plt.subplots()\n", + "ax.plot_date(radiohead_df['release_date'].values, radiohead_df['gloom'].values, linestyle='-')\n", + "\n", + "for a in radiohead_df.itertuples():\n", + " for t in tracks.find({'album.id': a[1], 'gloom': {'$exists': True}}):\n", + " ax.scatter(a.release_date, t['gloom'])\n", + "\n", + "fig.autofmt_xdate()\n", + "plt.show()" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Complexity per album\n", + "Let's generate the same plots for \"complexity\" per album.\n", + "\n", + "* [Top](#top)" + ] + }, + { + "cell_type": "code", + "execution_count": 495, + "metadata": { + "collapsed": false, + "scrolled": true + }, + "outputs": [ + { + "data": { + "text/plain": [ + "defaultdict(int,\n", + " {'03Qh833fEdVT30Pfs93ea6': 0.30313780757650094,\n", + " '0PYyrqs9NXtxPhf0CZkq2L': 0.39554610177908917,\n", + " '19K3IHYeVkUTjcBHGfbCOi': 0.4926787306023092,\n", + " '19RUXBFyM4PpmrLRdtqWbp': 0.19682403824100217,\n", + " '1DBkJIEoeHrTX4WCBQGcCi': 0.23682091199666255,\n", + " '1PULmKbHeOqlkIwcDMNwD4': 0.33137519763673373,\n", + " '1oW3v5Har9mvXnGk0x4fHm': 0.2989840032500176,\n", + " '2Pqkn9Dq2DFtdfkKAeqgMd': 0.2801541309531463,\n", + " '2pCqZLeavM2BMovJXsJEIV': 0.35466432570637396,\n", + " '36lJLPoPPOKNFddTAcirnc': 0.17041628698527087,\n", + " '3OdI6e43crvyAHhaqpxSyz': 0.44772169900647624,\n", + " '3nkEsxmIX0zRNXGAexaHAn': 0.5788171236704196,\n", + " '47bcKzmKgmMPHXNVOWpLiu': 0.2953681657492741,\n", + " '500FEaUzn8lN9zWFyZG5C2': 0.2361303334346605,\n", + " '5XfJmldgWzrc1AIdbBaVZn': 0.3887292504282335,\n", + " '5ju5Ouzan3QwXqQt1Tihbh': 0.40349206426460227,\n", + " '6400dnyeDyD2mIFHfkwHXN': 0.22536295726702718,\n", + " '6Eo5EkmdLvZrONzi046iC2': 0.3776567485151355,\n", + " '6P9yO0ukhOx3dvmhGKeYoC': 0.2752720160835255,\n", + " '6V9YnBmFjWmXCBaUVRCVXP': 0.1561887159181926,\n", + " '6vuykQgDLUCiZ7YggIpLM9': 0.12056755508379581,\n", + " '71Mwd9tntFQYUk4k2DwA0D': 0.5490106468656754,\n", + " '7BgGBZndAvDlKOcwe5rscZ': 0.5087387310808495,\n", + " '7dxKtc08dYeRVHt3p9CZJn': 0.1600362993556834,\n", + " '7eyQXxuf2nGj9d2367Gi5f': 0.29134666578005836,\n", + " '7gDXyW16byCQOgK965BRzn': 0.47916115082339855})" + ] + }, + "execution_count": 495, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "pipeline = [\n", + " {'$match': {'gloom': {'$exists': True}}},\n", + " {'$group': {'_id': '$album.id', 'avg_complexity': {'$avg': '$complexity'}}}]\n", + "album_complexities = collections.defaultdict(int, {a['_id']: a['avg_complexity'] for a in tracks.aggregate(pipeline)})\n", + "album_complexities" + ] + }, + { + "cell_type": "code", + "execution_count": 496, + "metadata": { + "collapsed": false, + "scrolled": true + }, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
_idartist_namenamerelease_dategloomcomplexity
157gDXyW16byCQOgK965BRznThe BeatlesPlease Please Me (Remastered)1963-03-220.1784200.479161
143nkEsxmIX0zRNXGAexaHAnThe BeatlesWith The Beatles (Remastered)1963-11-220.1500230.578817
1271Mwd9tntFQYUk4k2DwA0DThe BeatlesA Hard Day's Night (Remastered)1964-07-100.2154070.549011
117BgGBZndAvDlKOcwe5rscZThe BeatlesBeatles For Sale (Remastered)1964-12-040.1751090.508739
1019K3IHYeVkUTjcBHGfbCOiThe BeatlesHelp! (Remastered)1965-08-060.2206220.492679
\n", + "
" + ], + "text/plain": [ + " _id artist_name name \\\n", + "15 7gDXyW16byCQOgK965BRzn The Beatles Please Please Me (Remastered) \n", + "14 3nkEsxmIX0zRNXGAexaHAn The Beatles With The Beatles (Remastered) \n", + "12 71Mwd9tntFQYUk4k2DwA0D The Beatles A Hard Day's Night (Remastered) \n", + "11 7BgGBZndAvDlKOcwe5rscZ The Beatles Beatles For Sale (Remastered) \n", + "10 19K3IHYeVkUTjcBHGfbCOi The Beatles Help! (Remastered) \n", + "\n", + " release_date gloom complexity \n", + "15 1963-03-22 0.178420 0.479161 \n", + "14 1963-11-22 0.150023 0.578817 \n", + "12 1964-07-10 0.215407 0.549011 \n", + "11 1964-12-04 0.175109 0.508739 \n", + "10 1965-08-06 0.220622 0.492679 " + ] + }, + "execution_count": 496, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "albums_df['complexity'] = albums_df['_id'].apply(lambda i: album_complexities[i])\n", + "beatles_df = albums_df[albums_df['release_date'] < datetime(1971, 1, 1)]\n", + "radiohead_df = albums_df[(albums_df['artist_name'] == 'Radiohead') & (albums_df['gloom'] > 0)]\n", + "albums_df.head()" + ] + }, + { + "cell_type": "code", + "execution_count": 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mEYKcaUvGEYRoox\nJW8YhpFiTMkbhmGkGFPyhmEYKcaUvGEYRor5/xme/vJhnsC/AAAAAElFTkSuQmCC\n", + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "fig, ax = plt.subplots()\n", + "ax.plot_date(beatles_df['release_date'].values, beatles_df['complexity'].values, linestyle='-')\n", + "\n", + "fig.autofmt_xdate()\n", + "\n", + "for a in beatles_df.itertuples():\n", + " for t in tracks.find({'album.id': a[1], 'complexity': {'$exists': True}}):\n", + " ax.scatter(a.release_date, t['complexity'])\n", + "\n", + "plt.show()" + ] + }, + { + "cell_type": "code", + "execution_count": 498, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXkAAAD2CAYAAAAzkveEAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3Xt8FOW5wPHfEyACAtqA4AVveNeiRBSxaonVGGw1Cl6K\ntpaKFrRHPGrwIKWWKHLQeqOiHqX1QrWKF0SxKhGrwVKvgVAL5eLtoIh4QzkqSCB5zh/vLFlCNpfd\nmZ2dyfP9fOaT3dnZmffNzj47815FVTHGGBNPeWEnwBhjTHAsyBtjTIxZkDfGmBizIG+MMTFmQd4Y\nY2LMgrwxxsSYL0FeRAaLyDIRWSEiYxt5vbuIPCcii0TkXyLySz+Oa4wxpmmSaTt5EckDVgAnAKuB\nN4FhqrosaZsJQEdVHSciPYDlQC9V3ZzRwY0xxjTJjyv5AcDbqrpSVTcBM4DTGmyzBujqPe4KfGEB\n3hhjgtfeh33sBnyY9HwVLvAn+yPwNxFZDXQBfurDcY0xxjQjWxWv44B/ququQCFwh4h0ydKxjTGm\nzfLjSv4jYI+k5729dcmOASYBqOq7IvI+cCBQ1XBnImKD6RhjTCupqjS23o8r+TeBfUVkTxHJB4YB\nsxtssxQ4EUBEegH7A+81kdi0lgkTJqT93lxc4pSfOOXF8p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5T1XtCTlbaLD+5K055gdzPT9an/xORMbg2vGPVdfeNtDjlR9yAb+cBt0Q9L2D5yWVxygvkdn7C\nCPJ5GnJXdz/FLT/GmHixibyNMSbGcmaEQGOMMf6zIG+MMTFmQd4YY2LMgrwxxsSYBXljjIkxC/LG\nGBNjFuSNMSbG/h+xnkxtSnobQQAAAABJRU5ErkJggg==\n", + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "fig, ax = plt.subplots()\n", + "ax.plot_date(radiohead_df['release_date'].values, radiohead_df['complexity'].values, linestyle='-')\n", + "\n", + "fig.autofmt_xdate()\n", + "\n", + "for a in radiohead_df.itertuples():\n", + " for t in tracks.find({'album.id': a[1], 'complexity': {'$exists': True}}):\n", + " ax.scatter(a.release_date, t['complexity'])\n", + "\n", + "plt.show()" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "That isn't what I was expecting. I was expecting the complexity to go up over time, as bands became more adept at contrasting lyrics and melody. It could be because high complexity requires high valence, and bands tend not to become more \"poppy\" over time.\n", + "\n", + "Let's test that, by also showing the valence of tracks and albums over time." + ] + }, + { + "cell_type": "code", + "execution_count": 499, + "metadata": { + "collapsed": false + }, + "outputs": [], + "source": [ + "pipeline = [\n", + " {'$match': {'valence': {'$exists': True}}},\n", + " {'$group': {'_id': '$album.id', 'avg_valence': {'$avg': '$valence'}}}]\n", + "album_valences = collections.defaultdict(int, {a['_id']: a['avg_valence'] for a in tracks.aggregate(pipeline)})\n", + "albums_df['valence'] = albums_df['_id'].apply(lambda i: album_valences[i])\n", + "beatles_df = albums_df[albums_df['release_date'] < datetime(1971, 1, 1)]\n", + "radiohead_df = albums_df[(albums_df['artist_name'] == 'Radiohead') & (albums_df['gloom'] > 0)]" + ] + }, + { + "cell_type": "code", + "execution_count": 500, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXkAAAD2CAYAAAAzkveEAAAABHNCS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vLRGxT6zKsbRrz5iJO4jmgAOFG/kI6E7pAeAacDSle4ka5iDRHvZduhFW8s2Wpzzl\n2SGeLbheBX793+f+BlaX7Vf69WfKxA+IGsS3RBvckrT/CHAKuEiEPkuJkRNz0/GVKYNXVXKx8pSn\nPDvG8x1cTxdcJwG7gY+rci0tDzJm5kfp50Hgt/T7BKIT7bOUXgD8AkwZtwuWpzzl2TGeLboeByaP\np2sZW7bRNR5D4SCekN1m9qXH6IMxd7+Qju0hes+f5zpvq8gzL/LMizzz04LrE+C/8XAslZKenAPA\nuUL6E2LVqNehWx02ecpTnp3j2TTXXFv2RUMszcxmMSXrA+KFgT+BW+5+J+vJ3gN55kWeeZFnfprk\nmpPsL0OlTJxGvLW4Bbjr7mfqlonyzIs88yLP/DTJNSdlzSe/l+jJ7vE0+VhNkWde5JkXeeanSa5Z\nKGWNV2vIZPryzIs88yLP/DTJNRdayFsIIdqYOq1mJIQQIjMq5IUQoo1RIS+EEG2MCnkhhGhjVMgL\nIUQbo0JeCCHaGBXyQgjRxrwERxl/U1x0dgIAAAAASUVORK5CYII=\n", + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "fig, ax = plt.subplots()\n", + "ax.plot_date(beatles_df['release_date'].values, beatles_df['complexity'].values, linestyle='-', color='blue')\n", + "ax.plot_date(beatles_df['release_date'].values, beatles_df['valence'].values, linestyle='-', color='orange')\n", + "\n", + "fig.autofmt_xdate()\n", + "\n", + "for a in beatles_df.itertuples():\n", + " for t in tracks.find({'album.id': a[1], 'complexity': {'$exists': True}}):\n", + " ax.scatter(a.release_date, t['complexity'], color='blue')\n", + " ax.scatter(a.release_date, t['valence'], color='orange')\n", + "\n", + "plt.show()" + ] + }, + { + "cell_type": "code", + "execution_count": 501, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "data": { + "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXkAAAD2CAYAAAAzkveEAAAABHNCSVQICAgIfAhkiAAAAAlwSF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927U4AO\nSim76CnmbhHJd392I9oM6pD7mpgyifLESv0RkRIROSCV1j0ZaE9cgGuBE5VSH6FnKcuj0cb6YPoT\nu9SzL0XRaGN9iJf+RNT1XER+U0q9DNwNOEQvTPRD66caAqMkRkwJ/cFK/XEvIAk6n+8cd/EedN96\nAj+KyNYoNa/emP7ELlbqC8R+fyKaNERVGv7PQlsDHEA7CGwQkR8i1pAQYaX+KKUUOuDTS2j361HA\nn+gpZ9RtkOuL6U/sYqW+QOz3J9IjeZfSgceOA9LR9rtxmwbQSv0REVFKpaL1ih2AGSLycpSbFTCm\nP7GLlfoCsd+fiKf/U0rdjrbhvUu0u29cY6X+KB3w7Srg6XjvC5j+xDJW6gvEdn+iIeRtEmVX91Bi\ntf4YDAZrYRJ5GwwGg4WJmQiBBoPBYAg9RsgbDAaDhTFC3mAwGCyMEfIGg8FgYYyQNxgMBgtjhLzB\nYDBYGCPkDQaDwcL8f60O/z+rAhZsAAAAAElFTkSuQmCC\n", + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "fig, ax = plt.subplots()\n", + "ax.plot_date(radiohead_df['release_date'].values, radiohead_df['complexity'].values, linestyle='-', color='blue')\n", + "ax.plot_date(radiohead_df['release_date'].values, radiohead_df['valence'].values, linestyle='-', color='orange')\n", + "\n", + "fig.autofmt_xdate()\n", + "\n", + "for a in radiohead_df.itertuples():\n", + " for t in tracks.find({'album.id': a[1], 'complexity': {'$exists': True}}):\n", + " ax.scatter(a.release_date, t['complexity'], color='blue')\n", + " ax.scatter(a.release_date, t['valence'], color='orange')\n", + "\n", + "plt.show()" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "It definitely looks like the Beatles changed style over time, with the _White Ablum_ / _Yellow Submarine_ (around 1969) being a glitch in the trend. _Hail to the Thief_ and _Com Lag_ are unusual albums for Radiohead." + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Conclusion\n", + "A couple of things have come out of this. \n", + "\n", + "One is that the original analysis is very sensitive to how the sentiment of lyrics is determined. That means I'm not too confident about the reliability of results from either fitteR-happieR or this notebook.\n", + "\n", + "Another is that the Beatles are undoubtedly better than Radiohead. The happiest Beatles sonds are happier than anything Radiohead have done, and their saddest songs are about as sad as Radiohead. In just about every measure, the Beatles' range of music is larger, and covers, Radiohead's.\n", + "\n", + "QED.\n", + "\n", + "## Next steps\n", + "The obvious next step is to analyse a different group. What would Queen or ELO look like? Is Adele more depressing than Radiohead?\n", + "\n", + "Another approach would be to apply some machine learning / data mining techniques, perhaps to train a better sentiment analyser, or to cluster songs into groups. Which songs by different artists are most similar to each other?\n", + "\n", + "* [Top](#top)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "collapsed": true + }, + "outputs": [], + "source": [] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.4.3" + } + }, + "nbformat": 4, + "nbformat_minor": 0 +} -- 2.34.1