Skip to content

Instantly share code, notes, and snippets.

@pscollins
Created July 14, 2015 21:03
Show Gist options
  • Save pscollins/0172ae5265ae707e774d to your computer and use it in GitHub Desktop.
Save pscollins/0172ae5265ae707e774d to your computer and use it in GitHub Desktop.
should_start = (not partial_start) or (dt != gnip_start)
should_end = (not partial_end) or (dt != gnip_end)
if should_start and should_end:
acc[str(d)] = str(v)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment