Skip to content

Instantly share code, notes, and snippets.

View omo's full-sized avatar

Hajime Morrita omo

  • Mountain View, CA
View GitHub Profile
import json
import sys
import pandas as pd
import matplotlib.pyplot as plt
from optparse import OptionParser
def make_dataframe(raw_events, name):
#start_ts = {}
filtered = [ dict(e.items() + e["args"].items()) for e in raw_events if e["name"] == name ]