Skip to content

Instantly share code, notes, and snippets.

View catris25's full-sized avatar
📗
learning

Lia Ristiana catris25

📗
learning
View GitHub Profile
@catris25
catris25 / most-songs
Created January 16, 2021 17:16
Which artists have the most songs in my Top 100?
a = df1['artist'].value_counts().nlargest(10)
fig = go.Figure([go.Bar(x=a.index,
y=a.values,
text=a.values,
textposition='auto',
marker_color='seagreen')])
fig.update_layout(title_text='Artists with Most Songs on My Top 100')
fig.show()