code: def recfromtxt(fname, **kwargs):
      """
      Load ASCII data from a file and return it in a record array.
  
      If ``usemask=False`` a standard `recarray` is returned,
      if ``usemask=True`` a MaskedRecords array is returned.
  
      Parameters
      ----------
      fname, kwargs : For a description of input parameters, see `genfromtxt`.
  
      See Also
      --------
      numpy.genfromtxt : generic function
  
      Notes
      -----
      By default, `dtype` is None, which means that the data-type of the output
      array will be determined from the data.
  
      """
      kwargs.setdefault("dtype", None)
      usemask = kwargs.get("usemask", False)
      output = genfromtxt(fname, **kwargs)
      if usemask:
          from numpy.ma.mrecords import MaskedRecords
  
          output = output.view(MaskedRecords)
      else:
          output = output.view(np.recarray)
      return output
  
imports: import os
  import re
  import functools
  import itertools
  import warnings
  import weakref
  import contextlib
  import operator
  from operator import itemgetter, index, methodcaller
  from collections.abc import Mapping
  import numpy
  from .None import format
  from ._datasource import DataSource
  from numpy.core import overrides
  from numpy.core.multiarray import packbits, unpackbits
  from numpy.core._multiarray_umath import _load_from_filelike
  from numpy.core.overrides import set_array_function_like_doc, set_module
  from ._iotools import LineSplitter, NameValidator, StringConverter, ConverterError, ConverterLockError, ConversionWarning, _is_string_like, has_nested_fields, flatten_dtype, easy_dtype, _decode_line
  from numpy.compat import asbytes, asstr, asunicode, os_fspath, os_PathLike, pickle
label_desc: Use image node_id 20 for calling a global function with example usage: recfromtxt(fname) and returns: output