Created
July 31, 2020 14:51
-
-
Save roymartinezblanco/7b4ef6777ebea0b9d25bf284d0dc9d6b to your computer and use it in GitHub Desktop.
Third Party by Content Size
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-type'] == 'Third Party'] | |
tmp = tmp.groupby('host')[ "content-length"].mean().reset_index() | |
tmp[["host", "content-length"]].plot(x="host", kind="bar", stacked=True,label='Series') | |
plt.title('Third Party by Content Size') | |
plt.xlabel('Domains') | |
plt.ylabel('Content Length') | |
plt.show() | |
del tmp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment