def table_descriptor(keylist,dtypelist):
    """Returns a table descriptor that combines information from keylist 
    and dtypelist."""
    descriptor = ''
    i = 0
    for key in keylist:
        descriptor = descriptor + str(key)+' '+ str(dtypelist[i]) + ', '
        i+=1
    descriptor = descriptor[:-2] 
    return descriptor