Created
July 31, 2020 15:00
-
-
Save roymartinezblanco/7c31d483bd567c0d46fbb4e48ffd90bf to your computer and use it in GitHub Desktop.
Cache Status
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
tmp = dat_clean | |
tmp = tmp[tmp['host'] == domain] | |
tmp = tmp.groupby(['cdn-cache']).size().reset_index(name='Count') | |
plt.pie(tmp['Count'],shadow=False,autopct='%1.1f%%') | |
plt.legend( tmp['cdn-cache'], loc="best") | |
plt.title('Cache Status') | |
plt.axis('equal') | |
plt.tight_layout() | |
plt.show() | |
del tmp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment