original_docstring: 
      find the right formatting function for the dtype_
      
docstring: find the right formatting function for the dtype_
docstring_tokens: find the right formatting function for the dtype_
code: def _get_format_function(data, **options):
      """
      find the right formatting function for the dtype_
      """
      dtype_ = data.dtype
      if dtype_.fields is not None:
          return StructureFormat.from_data(data, **options)
  
      dtypeobj = dtype_.type
      formatdict = _get_formatdict(data, **options)
      if issubclass(dtypeobj, _nt.bool_):
          return formatdict['bool']()
      elif issubclass(dtypeobj, _nt.integer):
          if issubclass(dtypeobj, _nt.timedelta64):
              return formatdict['timedelta']()
          else:
              return formatdict['int']()
      elif issubclass(dtypeobj, _nt.floating):
          if issubclass(dtypeobj, _nt.longfloat):
              return formatdict['longfloat']()
          else:
              return formatdict['float']()
      elif issubclass(dtypeobj, _nt.complexfloating):
          if issubclass(dtypeobj, _nt.clongfloat):
              return formatdict['longcomplexfloat']()
          else:
              return formatdict['complexfloat']()
      elif issubclass(dtypeobj, (_nt.unicode_, _nt.string_)):
          return formatdict['numpystr']()
      elif issubclass(dtypeobj, _nt.datetime64):
          return formatdict['datetime']()
      elif issubclass(dtypeobj, _nt.object_):
          return formatdict['object']()
      else:
          return formatdict['numpystr']()
code_tokens: def _get_format_function ( data , ** options ) : dtype_ = data . dtype if dtype_ . fields is not None : return StructureFormat . from_data ( data , ** options ) dtypeobj = dtype_ . type formatdict = _get_formatdict ( data , ** options ) if issubclass ( dtypeobj , _nt . bool_ ) : return formatdict [ 'bool' ] ( ) elif issubclass ( dtypeobj , _nt . integer ) : if issubclass ( dtypeobj , _nt . timedelta64 ) : return formatdict [ 'timedelta' ] ( ) else : return formatdict [ 'int' ] ( ) elif issubclass ( dtypeobj , _nt . floating ) : if issubclass ( dtypeobj , _nt . longfloat ) : return formatdict [ 'longfloat' ] ( ) else : return formatdict [ 'float' ] ( ) elif issubclass ( dtypeobj , _nt . complexfloating ) : if issubclass ( dtypeobj , _nt . clongfloat ) : return formatdict [ 'longcomplexfloat' ] ( ) else : return formatdict [ 'complexfloat' ] ( ) elif issubclass ( dtypeobj , ( _nt . unicode_ , _nt . string_ ) ) : return formatdict [ 'numpystr' ] ( ) elif issubclass ( dtypeobj , _nt . datetime64 ) : return formatdict [ 'datetime' ] ( ) elif issubclass ( dtypeobj , _nt . object_ ) : return formatdict [ 'object' ] ( ) else : return formatdict [ 'numpystr' ] ( )
short_docstring: find the right formatting function for the dtype_
short_docstring_tokens: find the right formatting function for the dtype_
comment: """
      find the right formatting function for the dtype_
      """