code: def _try_convert_data(self, name, data, use_dtypes=True,
                            convert_dates=True):
          
  
          # don't try to coerce, unless a force conversion
          if use_dtypes:
              if self.dtype is False:
                  return data, False
              elif self.dtype is True:
                  pass
  
              else:
  
                  # dtype to force
                  dtype = (self.dtype.get(name)
                           if isinstance(self.dtype, dict) else self.dtype)
                  if dtype is not None:
                      try:
                          dtype = np.dtype(dtype)
                          return data.astype(dtype), True
                      except:
                          return data, False
  
          if convert_dates:
              new_data, result = self._try_convert_to_date(data)
              if result:
                  return new_data, True
  
          result = False
  
          if data.dtype == 'object':
  
              # try float
              try:
                  data = data.astype('float64')
                  result = True
              except:
                  pass
  
          if data.dtype.kind == 'f':
  
              if data.dtype != 'float64':
  
                  # coerce floats to 64
                  try:
                      data = data.astype('float64')
                      result = True
                  except:
                      pass
  
          # do't coerce 0-len data
          if len(data) and (data.dtype == 'float' or data.dtype == 'object'):
  
              # coerce ints if we can
              try:
                  new_data = data.astype('int64')
                  if (new_data == data).all():
                      data = new_data
                      result = True
              except:
                  pass
  
          # coerce ints to 64
          if data.dtype == 'int':
  
              # coerce floats to 64
              try:
                  data = data.astype('int64')
                  result = True
              except:
                  pass
  
          return data, result
docs: try to parse a ndarray like into a column by inferring dtype