Created
August 16, 2016 13:33
-
-
Save maurodoglio/8e5f84b5d8e6da51c6a95ea0522b6bc4 to your computer and use it in GitHub Desktop.
Retrieve pings by docType and submissionDate
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
dataset = Dataset.from_source('telemetry) | |
filtered_dataset = dataset.where(docType='main', | |
submissionDate=lambda x: x.startswith('20160701')) | |
pings = filtered_dataset.records(sc, sample=0.1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment