-
-
Save harterrt/600ee23a7279ceed8efe999a78868c9d to your computer and use it in GitHub Desktop.
MITM Experiment Analysis
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
# coding: utf-8 | |
# In[1]: | |
from moztelemetry import get_pings_properties, get_one_ping_per_client | |
from moztelemetry.dataset import Dataset | |
# In[2]: | |
pings = Dataset.from_source("telemetry") .where(submissionDate=lambda xx: xx.startswith("201612")) .where(docType="OTHER") .records(sc, sample=1) | |
# In[3]: | |
experiment_data = pings.filter(lambda xx: xx['meta']['docType'] == "mitm-prevalence-beta51") | |
# In[4]: | |
experiment_data.count() | |
# In[8]: | |
example = experiment_data.take(5) | |
# In[ ]: | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment