docs: def _flatten_value(value):
      """
          1: Turn a multi-dimensional array into a 1-dimensional array
          2: Turn a timeseries of values into a single 1-dimensional array
      """
  
      if type(value) == pd.DataFrame:
          value = value.values.tolist()
  
      if type(value) != list:
          raise ValidationError("Value %s cannot be processed."%(value))
  
      if len(value) == 0:
          return
  
      flat_list = _flatten_list(value)
  
      return flat_list