title: Style reportlab table
body: <pre><code>conn = sqlite3.connect('abc.db')
  cursor = conn.execute('''ac''')
  
  column1Heading = "a"
  column2Heading = "b"
  column3Heading = "c"
  column4Heading= "d"
  column5Heading = "e"
  column6Heading = "f"
  
  data=[]
  for row in cursor:
      D=str(row[0])
      t=str(row[1])
      C=str(row[2])
      ca = str(row[3]).split(',')
      cm = str(row[4]).split(',')
      data.append([column1Heading,D])
      data.append([column2Heading,t])
      data.append([column4Heading,len(c)])
      if len(ca) is not 0:
          data.append([column3Heading,column5Heading,column6Heading])
      for i in range(len(cm)):
          Ca=str(ca[i])
          Cl=str(cm[i])
          data.append([C,Ca,Cm])
  
  
  style=[
   ('GRID',(0,0),(-1,-1),0.5,colors.gray),
   ('ALIGN',(0,1),(-1,-1),'CENTER'),
   ('SPAN',(0,0),(-1,0))
  ]
  
  
  s = getSampleStyleSheet()
  s = s["Normal"]
  s.alignment=TA_CENTER
  s.wordWrap = 'CJK'
  t=Table(data)
  t.setStyle(TableStyle(style))
  Story.append(t)
  </code></pre>
  
  <p>So I want to repeat style if for example "name" is in first row and it also in 50th or 100th row and i want to give the same style for them also then what i have to do?</p>