Skip to content

Instantly share code, notes, and snippets.

Created Jan 16, 2021
What would you like to do?
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')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment