Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created Sep 27, 2021
Embed
What would you like to do?
pie3 = data["Discount"].value_counts()
discount = pie3.index
orders = pie3.values
fig = px.pie(data, values=orders, names=discount)
fig.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment