Skip to content

Instantly share code, notes, and snippets.

View steve500002's full-sized avatar

Steve Brett steve500002

View GitHub Profile

Keybase proof

I hereby claim:

  • I am steve500002 on github.
  • I am stevebrett (https://keybase.io/stevebrett) on keybase.
  • I have a public key whose fingerprint is 1968 0F77 8E3F 8909 C990 8CAB 01A4 DF06 3525 EEBF

To claim this, I am signing this object:

@steve500002
steve500002 / gist:55cc94077f9b20d51d77
Created August 4, 2015 06:50
A keen python util so queries return a consistent panda dataframe with / without timeframes
from datetime import date, timedelta
import datetime
import pandas as pd
import json
import yaml
from keen.client import KeenClient
def events():