code: def make_table(self):
          
          num_records = np.sum([1 for frame in self.timeseries])
          dtype = [("frame",float),("time",float),("ligand atom id",int),
                  ("ligand atom name","|U4"),("cutoff",float),
                  ("protein atom names",list),("protein atom ids",list),
                  ("resid",int),("resname","|U4"),("segid","|U8") ]
          out = np.empty((num_records,),dtype=dtype)
          cursor=0
          for contact in self.timeseries:
              out[cursor] = (contact.frame, contact.time,contact.ligandatomindex,contact.ligandatomname,contact.cutoff,
                             contact.proteinatomname,contact.proteinatomindex,contact.resid,contact.resname,contact.segid)
              cursor+=1
          return out.view(np.recarray)
docs: Make numpy array from timeseries data.