docstr: Transform samples from the original space into a warped space
  
  Parameters
  ----------
  data: List
      Samples to transform. Should be of shape (<# samples>, :attr:`n_dims`)
  
  Returns
  -------
  data_t: List
      Samples transformed into a warped space. Will be of shape
      (<# samples>, :attr:`transformed_n_dims`)
  
  Notes
  -----
  Expected to be used to project samples into a suitable space for numerical optimization
docstr_tok: ["Transform","samples","from","the","original","space","into","a","warped","space","Parameters","--","--","--","--","--","data",":","List","Samples","to","transform",".","Should","be","of","shape","(","<","#","samples",">",",",":","attr",":","`","n_dims","`",")","Returns","--","--","--","-","data_t",":","List","Samples","transformed","into","a","warped","space",".","Will","be","of","shape","(","<","#","samples",">",",",":","attr",":","`","transformed_n_dims","`",")","Notes","--","--","-","Expected","to","be","used","to","project","samples","into","a","suitable","space","for","numerical","optimization"]
code: def transform(self, data):
      """Transform samples from the original space into a warped space
  
      Parameters
      ----------
      data: List
          Samples to transform. Should be of shape (<# samples>, :attr:`n_dims`)
  
      Returns
      -------
      data_t: List
          Samples transformed into a warped space. Will be of shape
          (<# samples>, :attr:`transformed_n_dims`)
  
      Notes
      -----
      Expected to be used to project samples into a suitable space for numerical optimization
      """
      #################### Pack by Dimension ####################
      columns = [[] for _ in self.dimensions]
  
      for i in range(len(data)):
          for j in range(self.n_dims):
              columns[j].append(data[i][j])
  
      #################### Transform ####################
      for j in range(self.n_dims):
          columns[j] = self.dimensions[j].transform(columns[j])
  
      #################### Repack as Array ####################
      data_t = np.hstack(
          [np.asarray(c).reshape((len(data), -1)) for c in columns]
      )
  
      return data_t
  
imports: from hyperparameter_hunter.space.dimensions import Dimension, Real, Integer, Categorical
  from hyperparameter_hunter.utils.general_utils import short_repr
  from functools import reduce
  import numbers
  import numpy
  from sys import maxsize
  from sklearn.utils import check_random_state
  from sklearn.utils.fixes import sp_version
label_desc: Use image node_id 8 for calling the Space obj's underlying member method code with example usage: obj.transform(data) and returns: data_t