code: def detect_rowspans(self, use_actual=1):
          
          """ Determine if any row spans are present"""
          vals = self.actual_values if use_actual else self.formatted_values
          if self.is_contiguous_rows:
              for cidx in range(self.ncols):
                  for r0, r1 in span_iter(vals.iloc[:, cidx]):
                      actual_idx = self.col_ilocs[cidx]
                      self.style_cmds.append(['SPAN', (actual_idx, r0), (actual_idx, r1)])
          return self
docs: Determine if any row spans are present in the values.
          :param use_actual:  if True, check actual_values for span. if False, use the formatted_values
          :return: self