class_docstr: :class:`~fastNLP.core.dataset.DatSet` 中用于表示列的数据类型。
  
  :param name: 字符串的名称
  :param content: 任意类型的数据
class_docstr_tok: [":","class",":","`","~fastNLP.core.dataset.DatSet","`","\u4e2d\u7528\u4e8e\u8868\u793a\u5217\u7684\u6570\u636e\u7c7b\u578b\u3002",":","param","name",":","\u5b57\u7b26\u4e32\u7684\u540d\u79f0",":","param","content",":","\u4efb\u610f\u7c7b\u578b\u7684\u6570\u636e"]
docstr: 根据给定的 ``indices`` 返回内容。
  
  :param indices: 获取 ``indices`` 对应的内容。
  :return: 根据给定的 ``indices`` 返回的内容，可能是单个值 或 :class:`numpy.ndarray`
docstr_tok: ["\u6839\u636e\u7ed9\u5b9a\u7684","``","indices","``","\u8fd4\u56de\u5185\u5bb9\u3002",":","param","indices",":","\u83b7\u53d6","``","indices","``","\u5bf9\u5e94\u7684\u5185\u5bb9\u3002",":","return",":","\u6839\u636e\u7ed9\u5b9a\u7684","``","indices","``","\u8fd4\u56de\u7684\u5185\u5bb9\uff0c\u53ef\u80fd\u662f\u5355\u4e2a\u503c","\u6216",":","class",":","`","numpy.ndarray","`"]
code: def get(self, indices: Union[int, List[int]]):
      r"""
      根据给定的 ``indices`` 返回内容。
  
      :param indices: 获取 ``indices`` 对应的内容。
      :return: 根据给定的 ``indices`` 返回的内容，可能是单个值 或 :class:`numpy.ndarray`
      """
      if isinstance(indices, int):
          if indices == -1:
              indices = len(self) - 1
          assert 0 <= indices < len(self)
          return self.content[indices]
      try:
          contents = [self.content[i] for i in indices]
      except BaseException as e:
          raise e
      return np.array(contents)
  
imports: from collections import Counter
  from typing import Any, Union, List, Callable
  from ..log import logger
  import numpy
label_desc: Use image node_id 7 for calling the FieldArray obj's underlying member method code with example usage: obj.get(indices) and returns: np, self