code: def get_data(name):
      
      
      global data_quants
      if name not in data_quants.keys():
          print("That name is currently not in pytplot")
          return
      
      temp_data_quant = data_quants[name]
      data_val = temp_data_quant.data.values
      time_val = temp_data_quant.data.index
      
      return(time_val, data_val)
docs: This function extracts the data from the Tplot Variables stored in memory.  
      
      Parameters:
          name : str 
              Name of the tplot variable
           
      Returns:
          time_val : pandas dataframe index
          data_val : list
              
      Examples:
          >>> # Retrieve the data from Variable 1
          >>> import pytplot
          >>> x_data = [1,2,3,4,5]
          >>> y_data = [1,2,3,4,5]
          >>> pytplot.store_data("Variable1", data={'x':x_data, 'y':y_data})
          >>> time, data = pytplot.get_data("Variable1")