-
-
Save amankharwal/0eff6e52b056d210c6f561684d92aad0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print("Top 10 frequently sold products(Tabular Representation)") | |
x = data['itemDescription'].value_counts().sort_values(ascending=False)[:10] | |
fig = px.bar(x= x.index, y= x.values) | |
fig.update_layout(title_text= "Top 10 frequently sold products (Graphical Representation)", xaxis_title= "Products", yaxis_title="Count") | |
fig.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment