Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created Jan 16, 2021
Embed
What would you like to do?
df1=dff[['type','release_year']]
df1=df1.rename(columns={"release_year": "Release Year"})
df2=df1.groupby(['Release Year','type']).size().reset_index(name='Total Content')
df2=df2[df2['Release Year']>=2010]
fig3 = px.line(df2, x="Release Year", y="Total Content", color='type',title='Trend of content produced over the years on Netflix')
fig3.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment