def to_discontinuous(self):
collection = HourlyDiscontinuousCollection(self.header.duplicate(),<EOL>self.values, self.datetimes)<EOL>collection._validated_a_period = True<EOL>return collection<EOL>
Return a discontinuous version of the current collection.