Data Science, Product Analytics, Simulation, Deep Dives, Programming.
events. Processing events As discussed, I will use the inheritance approach and create an Event class. For now, it implements only __init__ and __str__ functions, but potentially, it can help us provide additional functionality for all events. class Event: def __init__(self, event_type, time):