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