def __eq__(self, timeframe):
    return ((self.label == timeframe.label) and (self.document_buckets == timeframe.document_buckets))
def __eq__(self, timeframe):
    return ((self.label == timeframe.label) and (self.document_buckets == timeframe.document_buckets))