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: Replace items of given scope of field value.
  
  Be careful of your input list shape.
  
  :param str field: field name
  :param int|list|slice index:
      can be int indicate replace single item or 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.
  :param str|list items: shape: indices_num, correspond to field_sub_items
  :return: Modified Sample
docstr_tok: ["Replace","items","of","given","scope","of","field","value",".","Be","careful","of","your","input","list","shape",".",":","param","str","field",":","field","name",":","param","int|list|slice","index",":","can","be","int","indicate","replace","single","item","or","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",".",":","param","str|list","items",":","shape",":","indices_num",",","correspond","to","field_sub_items",":","return",":","Modified","Sample"]
code: def replace_field_at_index(self, field, index, items):
      r"""
      Replace items of given scope of field value.
  
      Be careful of your input list shape.
  
      :param str field: field name
      :param int|list|slice index:
          can be int indicate replace single item or 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.
      :param str|list items: shape: indices_num, correspond to field_sub_items
      :return: Modified Sample
  
      """
      return self.replace_field_at_indices(field, [index], [items])
  
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 15 for calling the CnSample obj's underlying member method code with example usage: obj.replace_field_at_index(field, index, items) and returns: self