Skip to content

Instantly share code, notes, and snippets.

@srang992
Created September 24, 2022 13:18
Embed
What would you like to do?
plt.figure(figsize=(10,6))
df1 = pd.DataFrame(white_shark_case['victim_activity'].value_counts().reset_index())
df1 = df1[df1['victim_activity'] > 10]
plt.pie(x='victim_activity', labels='index', data=df1, autopct='%.1f%%')
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment