parameters: (
          self, slicer=None, na_rep=None, date_format=None, quoting=None, **kwargs
      )
return_statement: return np.atleast_2d(result)
docstring: convert to our native types format, slicing if desired
docstring_summary: convert to our native types format, slicing if desired
docstring_tokens: convert to our native types format slicing if desired
function: def to_native_types(
          self, slicer=None, na_rep=None, date_format=None, quoting=None, **kwargs
      ):
          """ convert to our native types format, slicing if desired """
  
          values = self.values
          i8values = self.values.view("i8")
  
          if slicer is not None:
              values = values[..., slicer]
              i8values = i8values[..., slicer]
  
          from pandas.io.formats.format import _get_format_datetime64_from_values
  
          fmt = _get_format_datetime64_from_values(values, date_format)
  
          result = tslib.format_array_from_datetime(
              i8values.ravel(),
              tz=getattr(self.values, "tz", None),
              format=fmt,
              na_rep=na_rep,
          ).reshape(i8values.shape)
          return np.atleast_2d(result)
function_tokens: def to_native_types ( self , slicer = None , na_rep = None , date_format = None , quoting = None , * * kwargs ) : values = self . values i8values = self . values . view ( "i8" ) if slicer is not None : values = values [ ... , slicer ] i8values = i8values [ ... , slicer ] from pandas . io . formats . format import _get_format_datetime64_from_values fmt = _get_format_datetime64_from_values ( values , date_format ) result = tslib . format_array_from_datetime ( i8values . ravel ( ) , tz = getattr ( self . values , "tz" , None ) , format = fmt , na_rep = na_rep , ) . reshape ( i8values . shape ) return np . atleast_2d ( result )