Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
playlists/ (6.6M rows, 2 files)
|
| 2 |
+
┌─────────────────────┬────────┬─────────────────────────────┐
|
| 3 |
+
│ Column │ Type │ Sample │
|
| 4 |
+
├─────────────────────┼────────┼─────────────────────────────┤
|
| 5 |
+
│ rowid │ int64 │ 1 │
|
| 6 |
+
│ id │ string │ "37i9dQZF1DXcBWIGoYBM5M" │
|
| 7 |
+
│ snapshot_id │ string │ "MTczODcwNTA4MCww..." │
|
| 8 |
+
│ fetched_at │ int64 │ 1703456789000 │
|
| 9 |
+
│ name │ string │ "Today's Top Hits" │
|
| 10 |
+
│ description │ string │ "The hottest tracks..." │
|
| 11 |
+
│ collaborative │ int64 │ 0 │
|
| 12 |
+
│ public │ int64 │ 1 │
|
| 13 |
+
│ primary_color │ string │ "#6bb6da" │
|
| 14 |
+
│ owner_id │ string │ "spotify" │
|
| 15 |
+
│ owner_display_name │ string │ "Spotify" │
|
| 16 |
+
│ followers_total │ int64 │ 35248475 │
|
| 17 |
+
│ tracks_total │ int64 │ 50 │
|
| 18 |
+
└─────────────────────┴────────┴─────────────────────────────┘
|
| 19 |
+
|
| 20 |
+
playlist_tracks/ (1.7B rows, 340 files)
|
| 21 |
+
┌───────────────────────────┬────────┬──────────────────┐
|
| 22 |
+
│ Column │ Type │ Sample │
|
| 23 |
+
├───────────────────────────┼────────┼──────────────────┤
|
| 24 |
+
│ playlist_rowid │ int64 │ 1 │
|
| 25 |
+
│ position │ int64 │ 0 │
|
| 26 |
+
│ is_episode │ int64 │ 0 │
|
| 27 |
+
│ track_rowid │ int64 │ 705 │
|
| 28 |
+
│ id_if_not_in_tracks_table │ string │ null │
|
| 29 |
+
│ added_at │ int64 │ 1738705080 │
|
| 30 |
+
│ added_by_id │ string │ null │
|
| 31 |
+
│ primary_color │ string │ null │
|
| 32 |
+
│ video_thumbnail_url │ string │ null │
|
| 33 |
+
│ is_local │ int64 │ 0 │
|
| 34 |
+
└───────────────────────────┴────────┴──────────────────┘
|
| 35 |
+
|
| 36 |
+
Key columns for training:
|
| 37 |
+
- playlist_rowid → group tracks by playlist
|
| 38 |
+
- track_rowid → the track ID (FK to main tracks table)
|
| 39 |
+
- position → order in playlist
|
| 40 |
+
|
| 41 |
+
playlist_images/ (11M rows, 3 files)
|
| 42 |
+
┌──────────────────┬────────┬─────────────────────────────────┐
|
| 43 |
+
│ Column │ Type │ Sample │
|
| 44 |
+
├──────────────────┼────────┼─────────────────────────────────┤
|
| 45 |
+
│ playlist_rowid │ int64 │ 1 │
|
| 46 |
+
│ width │ int64 │ 640 │
|
| 47 |
+
│ height │ int64 │ 640 │
|
| 48 |
+
│ url │ string │ "https://i.scdn.co/image/ab67…" │
|
| 49 |
+
└──────────────────┴────────┴─────────────────────────────────┘
|
| 50 |
+
|
| 51 |
+
Total: ~11GB compressed Parquet
|