class_docstr: Functionality for deploying a model to a filename
code: def save_data(self):
      import pandas as pd
  
      # input data is <= 2d
      try:
          x = pd.DataFrame(self.scan_object.x[:100])
          y = pd.DataFrame(self.scan_object.y[:100])
  
      # input data is > 2d
      except ValueError:
          x = pd.DataFrame()
          y = pd.DataFrame()
          print("data is not 2d, dummy data written instead.")
  
      x.to_csv(self.path + "_x.csv", header=None, index=None)
      y.to_csv(self.path + "_y.csv", header=None, index=None)
  
file_path: talos/talos/commands/deploy.py
label_desc: Use image node_id 4 for calling the Deploy obj's underlying member method code with example usage: obj.save_data() without return types