Skip to content

Instantly share code, notes, and snippets.

View mattgrogan's full-sized avatar

Matthew Grogan mattgrogan

View GitHub Profile
@mattgrogan
mattgrogan / gist:30b61f336ffd836fabea
Last active August 29, 2015 14:16
Simpy Monitor Example
import pandas as pd
class Monitor(object):
""" Monitors hold data collected during the simulation """
def __init__(self, name):
""" Initialize the monitor """
self.name = name
self._data = {}