code: def converter_pm_log10(data):
      
      # indices_zero = np.where(data == 0)
      indices_gt_zero = np.where(data > 0)
      indices_lt_zero = np.where(data < 0)
  
      data_converted = np.zeros(data.shape)
      data_converted[indices_gt_zero] = np.log10(data[indices_gt_zero])
      data_converted[indices_lt_zero] = -np.log10(-data[indices_lt_zero])
      return indices_gt_zero, indices_lt_zero, data_converted
docs: Convert the given data to:
  
          log10(subdata) for subdata > 0
          log10(-subdata') for subdata' < 0
          0 for subdata'' == 0
  
      Parameters
      ----------
      data: array
          input data
  
      Returns
      -------
      array_converted: array
          converted data