docs: def get_current(self, cycle=None, dataset_number=None, full=True):
          """Returns current (in mA).
  
          Args:
              cycle: cycle number (all cycles if None)
              dataset_number: first dataset if None
              full: valid only for cycle=None (i.e. all cycles), returns the full
                 pandas.Series if True, else a list of pandas.Series
  
          Returns:
              pandas.Series (or list of pandas.Series if cycle=None og full=False)
          """
  
          dataset_number = self._validate_dataset_number(dataset_number)
          if dataset_number is None:
              self._report_empty_dataset()
              return
          cycle_index_header = self.headers_normal.cycle_index_txt
          current_header = self.headers_normal.current_txt
          # step_index_header  = self.headers_normal.step_index_txt
  
          test = self.datasets[dataset_number].dfdata
          if cycle:
              self.logger.debug(f"getting current for cycle {cycle}")
              c = test[(test[cycle_index_header] == cycle)]
              if not self.is_empty(c):
                  v = c[current_header]
                  return v
          else:
              if not full:
                  self.logger.debug(
                      "getting a list of current-curves for all cycles"
                  )
                  v = []
                  no_cycles = np.amax(test[cycle_index_header])
                  for j in range(1, no_cycles + 1):
                      txt = "Cycle  %i:  " % j
                      self.logger.debug(txt)
                      c = test[(test[cycle_index_header] == j)]
                      v.append(c[current_header])
              else:
                  self.logger.debug("getting all current-curves ")
                  v = test[current_header]
              return v