Created
June 6, 2018 04:49
-
-
Save aneesha/7b53a89025bfc05a1c8ced0b73d557f8 to your computer and use it in GitHub Desktop.
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
import dask.bag as db | |
import json | |
records = db.read_text('data/2018-*-*.json').map(json.loads) | |
records.filter(lambda d: d['username'] == 'Aneesha').pluck('id').frequencies() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment