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: 将本 field 中的值调用 ``int(cell)``. 支持 field 中内容为以下两种情况:
  
      * ['1', '2', ...](即 field 中每个值为 :class:`str` 的)，
      * [['1', '2', ..], ['3', ..], ...](即 field 中每个值为一个 :class:`list` ，:class:`list` 中的值会被依次转换。)
  
  :param inplace: 如果为 ``True``，则将新生成值替换本 field，并返回当前 field 。否则返回 :class:`list`。
  :return: List[int], List[List[int]], self
docstr_tok: ["\u5c06\u672c","field","\u4e2d\u7684\u503c\u8c03\u7528","``","int","(","cell",")","``",".","\u652f\u6301","field","\u4e2d\u5185\u5bb9\u4e3a\u4ee5\u4e0b\u4e24\u79cd\u60c5\u51b5",":","*","[","'","1","'",",","'","2","'",",","...","]","(","\u5373","field","\u4e2d\u6bcf\u4e2a\u503c\u4e3a",":","class",":","`","str","`","\u7684",")","\uff0c","*","[","[","'","1","'",",","'","2","'",",","..","]",",","[","'","3","'",",","..","]",",","...","]","(","\u5373","field","\u4e2d\u6bcf\u4e2a\u503c\u4e3a\u4e00\u4e2a",":","class",":","`","list","`","\uff0c",":","class",":","`","list","`","\u4e2d\u7684\u503c\u4f1a\u88ab\u4f9d\u6b21\u8f6c\u6362\u3002",")",":","param","inplace",":","\u5982\u679c\u4e3a","``","True","``","\uff0c\u5219\u5c06\u65b0\u751f\u6210\u503c\u66ff\u6362\u672c","field\uff0c\u5e76\u8fd4\u56de\u5f53\u524d","field","\u3002\u5426\u5219\u8fd4\u56de",":","class",":","`","list","`","\u3002",":","return",":","List","[","int","]",",","List","[","List","[","int","]","]",",","self"]
code: def int(self, inplace: bool = True):
      r"""
      将本 field 中的值调用 ``int(cell)``. 支持 field 中内容为以下两种情况:
  
          * ['1', '2', ...](即 field 中每个值为 :class:`str` 的)，
          * [['1', '2', ..], ['3', ..], ...](即 field 中每个值为一个 :class:`list` ，:class:`list` 中的值会被依次转换。)
  
      :param inplace: 如果为 ``True``，则将新生成值替换本 field，并返回当前 field 。否则返回 :class:`list`。
      :return: List[int], List[List[int]], self
      """
      new_contents = []
      for index, cell in enumerate(self.content):
          try:
              if isinstance(cell, list):
                  new_contents.append([int(value) for value in cell])
              else:
                  new_contents.append(int(cell))
          except Exception as e:
              print(
                  f"Exception happens when process value in index {index}."
              )
              raise e
      return self._after_process(new_contents, inplace=inplace)
  
imports: from collections import Counter
  from typing import Any, Union, List, Callable
  from ..log import logger
  import numpy
label_desc: Use image node_id 10 for calling the FieldArray obj's underlying member method code with example usage: obj.int(inplace) and returns: self