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: 依次对自身的元素使用 ``.split()`` 方法，应该只有当本 field 的元素为 :class:`str` 时，该方法才有用。
  
  :param sep: 分割符，如果为 ``None`` 则直接调用 ``str.split()``。
  :param inplace: 如果为 ``True``，则将新生成值替换本 field。否则返回 :class:`list`。
  :return: List[List[str]] or self
docstr_tok: ["\u4f9d\u6b21\u5bf9\u81ea\u8eab\u7684\u5143\u7d20\u4f7f\u7528","``",".split","(",")","``","\u65b9\u6cd5\uff0c\u5e94\u8be5\u53ea\u6709\u5f53\u672c","field","\u7684\u5143\u7d20\u4e3a",":","class",":","`","str","`","\u65f6\uff0c\u8be5\u65b9\u6cd5\u624d\u6709\u7528\u3002",":","param","sep",":","\u5206\u5272\u7b26\uff0c\u5982\u679c\u4e3a","``","None","``","\u5219\u76f4\u63a5\u8c03\u7528","``","str.split","(",")","``","\u3002",":","param","inplace",":","\u5982\u679c\u4e3a","``","True","``","\uff0c\u5219\u5c06\u65b0\u751f\u6210\u503c\u66ff\u6362\u672c","field\u3002\u5426\u5219\u8fd4\u56de",":","class",":","`","list","`","\u3002",":","return",":","List","[","List","[","str","]","]","or","self"]
code: def split(self, sep: str = None, inplace: bool = True):
      r"""
      依次对自身的元素使用 ``.split()`` 方法，应该只有当本 field 的元素为 :class:`str` 时，该方法才有用。
  
      :param sep: 分割符，如果为 ``None`` 则直接调用 ``str.split()``。
      :param inplace: 如果为 ``True``，则将新生成值替换本 field。否则返回 :class:`list`。
      :return: List[List[str]] or self
      """
      new_contents = []
      for index, cell in enumerate(self.content):
          try:
              new_contents.append(cell.split(sep))
          except Exception as e:
              logger.error(
                  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 9 for calling the FieldArray obj's underlying member method code with example usage: obj.split(sep, inplace) and returns: self