code: def add_row(self, *cells, color=None, escape=None, mapper=None,
                  strict=True):
          
  
          if len(cells) == 1 and _is_iterable(cells):
              cells = cells[0]
  
          if escape is None:
              escape = self.escape
  
          # Propagate packages used in cells
          for c in cells:
              if isinstance(c, LatexObject):
                  for p in c.packages:
                      self.packages.add(p)
  
          # Count cell contents
          cell_count = 0
  
          for c in cells:
              if isinstance(c, MultiColumn):
                  cell_count += c.size
              else:
                  cell_count += 1
  
          if strict and cell_count != self.width:
              msg = "Number of cells added to table ({}) " \
                  "did not match table width ({})".format(cell_count, self.width)
              raise TableRowSizeError(msg)
  
          if color is not None:
              if not self.color:
                  self.packages.append(Package("xcolor", options='table'))
                  self.color = True
              color_command = Command(command="rowcolor", arguments=color)
              self.append(color_command)
  
          self.append(dumps_list(cells, escape=escape, token='&',
                      mapper=mapper) + NoEscape(r'\\'))
docs: Add a row of cells to the table.
  
          Args
          ----
          cells: iterable, such as a `list` or `tuple`
              There's two ways to use this method. The first method is to pass
              the content of each cell as a separate argument. The second method
              is to pass a single argument that is an iterable that contains each
              contents.
          color: str
              The name of the color used to highlight the row
          mapper: callable or `list`
              A function or a list of functions that should be called on all
              entries of the list after converting them to a string,
              for instance bold
          strict: bool
              Check for correct count of cells in row or not.