class_docstr: Base Chinese Sample class to hold the necessary info and provide atomic operations
class_docstr_tok: ["Base","Chinese","Sample","class","to","hold","the","necessary","info","and","provide","atomic","operations"]
docstr: Delete items of given scopes of field value.
  
  :param str field: field name
  :param list of int|list|slice indices:
      shape：indices_num
      each index can be int indicate delete 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: Modified Sample
docstr_tok: ["Delete","items","of","given","scopes","of","field","value",".",":","param","str","field",":","field","name",":","param","list","of","int|list|slice","indices",":","shape\uff1aindices_num","each","index","can","be","int","indicate","delete","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",":","Modified","Sample"]
code: def delete_field_at_indices(self, field, indices):
      r"""
      Delete items of given scopes of field value.
  
      :param str field: field name
      :param list of int|list|slice indices:
          shape：indices_num
          each index can be int indicate delete 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: Modified Sample
  
      """
      sample = self.clone(self)
      field_obj = getattr(sample, field)
  
      assert isinstance(field_obj, (CnTextField, ListField))
      del_field = field_obj.delete_at_indices(indices)
      setattr(sample, field, del_field)
  
      return sample
  
imports: import copy
  from abc import ABC, abstractmethod
  from textflint.input.component.field.list_field import ListField
  from ..field import CnTextField
  from ....common.settings import MODIFIED_MASK
  from ....common.preprocess.cn_processor import CnProcessor
label_desc: Use image node_id 17 for calling the CnSample obj's underlying member method code with example usage: obj.delete_field_at_indices(field, indices) and returns: sample