code: def delete(self, name):
      '''
      Delete time series by name across all intervals. Returns the number of
      records deleted.
      '''
      # TODO: confirm that this does not use the combo index and determine
      # performance implications.
      num_deleted = 0
      for interval,config in self._intervals.items():
        # TODO: use write preference settings if we have them
        num_deleted += self._client[interval].remove( {'name':name} )['n']
      return num_deletef delete(self, name):
      '''
      Delete time series by name across all intervals. Returns the number of
      records deleted.
      '''
      # TODO: confirm that this does not use the combo index and determine
      # performance implications.
      num_deleted = 0
      for interval,config in self._intervals.items():
        # TODO: use write preference settings if we have them
        num_deleted += self._client[interval].remove( {'name':name} )['n']
      return num_deleted
docs: Delete time series by name across all intervals. Returns the number of
      records deleted.