parameters: (fname, **kwargs)
return_statement: return output
docstring: 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.
docstring_summary: Load ASCII data from a file and return it in a record array.
docstring_tokens: Load ASCII data from a file and return it in a record array .
function: 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
function_tokens: def recfromtxt ( fname , * * kwargs ) : 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