Created
September 24, 2022 13:18
-
-
Save srang992/2ed5dc0070d83bfd302bd6928e7f0c84 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
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