code: def vars_to_array(self):
          
  
          logger.warn('This function is deprecated. You can inspect `self.np_vars` directly as NumPy arrays '
                      'without conversion.')
          if not self.vars:
              return None
  
          vars_matrix = matrix(self.vars, size=(self.vars[0].size[0],
                                                len(self.vars))).trans()
  
          self.vars_array = np.array(vars_matrix)
  
          return self.vars_array
docs: Convert `self.vars` to a numpy array
  
          Returns
          -------
          numpy.array