code: def _extract_header(time_series):
      
      return TimeSeries(
          metric=time_series.metric,
          resource=time_series.resource,
          metric_kind=time_series.metric_kind,
          value_type=time_series.value_type,
      )
docs: Return a copy of time_series with the points removed.