Created
July 31, 2020 15:01
-
-
Save roymartinezblanco/fbfeb9f15622711fc6480868c22e1cf4 to your computer and use it in GitHub Desktop.
Cache Status by ext
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','ext']).size().reset_index(name='Count') | |
tmp = tmp.reset_index().pivot(columns='ext', index='cdn-cache', values='Count') | |
tmp.plot.bar(); | |
plt.title('Cache Status by ext') | |
plt.xlabel('Domain/Ext') | |
plt.ylabel('Count') | |
plt.show() | |
del tmp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment