class_docstr: Constructor for the Polymer class.
  :param dataset_path is the path to the dataset
  :param save_model: whether the model should be saved in a .sav file
class_docstr_tok: ["Constructor","for","the","Polymer","class",".",":","param","dataset_path","is","the","path","to","the","dataset",":","param","save_model",":","whether","the","model","should","be","saved","in","a",".sav","file"]
code: def transformToPrinciple(self, values):
      if not self.runPCA:
          return None
      transformed = self.pca_model.transform(values)
      num_columns = transformed.shape[1]
      column_names = [
          "Principal#" + str(i + 1) for i in range(num_columns)
      ]
      transform_df = pd.DataFrame(transformed, columns=column_names)
      return transform_df
  
file_path: nylon/nylon/query.py
imports: from pandas.core.algorithms import mode
  from nylon.supplementaries.main import dataset_initializer
  from nylon.supplementaries.handlers import preprocess_module, modeling_module, analysis_module, perform_inference
  import uuid
  import pandas
label_desc: Use image node_id 7 for calling the Polymer obj's underlying member method code with example usage: obj.transformToPrinciple(values) and returns: transform_df, None