class_docstr: DP Sample class to hold the data info and provide atomic operations.
docstr: Delete items of given scopes of field value.
  
  :param str field: Only value 'x' supported.
  :param list indices:
      shape：indices_num
      each index can be int indicate replace single item or their list
          like [1, 2, 3],
      can be list like (0,3) indicate replace items
          from 0 to 3(not included),
      can be slice which would be convert to list.
  :return ~DPSample: The sentence with words deleted.
docstr_tok: ["Delete","items","of","given","scopes","of","field","value",".",":","param","str","field",":","Only","value","'","x","'","supported",".",":","param","list","indices",":","shape\uff1aindices_num","each","index","can","be","int","indicate","replace","single","item","or","their","list","like","[","1",",","2",",","3","]",",","can","be","list","like","(","0,3",")","indicate","replace","items","from","0","to","3","(","not","included",")",",","can","be","slice","which","would","be","convert","to","list",".",":","return","~DPSample",":","The","sentence","with","words","deleted","."]
code: def delete_field_at_indices(self, field, indices):
      r"""
      Delete items of given scopes of field value.
  
      :param str field: Only value 'x' supported.
      :param list indices:
          shape：indices_num
          each index can be int indicate replace single item or their list
              like [1, 2, 3],
          can be list like (0,3) indicate replace items
              from 0 to 3(not included),
          can be slice which would be convert to list.
      :return ~DPSample: The sentence with words deleted.
  
      """
      assert isinstance(indices, list)
      sample = self.clone(self)
  
      for index in indices:
          sample = sample.delete_field_at_index(field, index)
  
      return sample
  
file_path: textflint/textflint/input/component/sample/dp_sample.py
imports: from .sample import Sample
  from ..field import ListField, TextField
  from ....common.utils.list_op import get_align_seq, normalize_scope
label_desc: Use image node_id 10 for calling the DPSample obj's underlying member method code with example usage: obj.delete_field_at_indices(field, indices) and returns: sample