def xls_tweets_workbook(qs_tweets, fieldnames):
    new_workbook = Workbook(encoding="UTF-8")
    new_sheet = new_workbook.add_sheet('sheet1')
    font = xlwt.Font()
    font.name = 'Arial Unicode MS'
    style = xlwt.XFStyle()
    style.font = font
    for i in range(0, len(fieldnames)):
        new_sheet.write(0, i, fieldnames[i], style=style)
        row = 0
    for t in qs_tweets:
        row = row+1
        col = 0
        for r in range(0, len(t.csv)):
            new_sheet.write(row, col, t.csv[r], style=style)
            col = col+1
    return new_workbook
Return the datafield object with name 'name' (if exists).
dataset/ETHPy150Open gwu-libraries/social-feed-manager/docker/app-prod/m5_002/utils.py/xls_tweets_workbook--crossover with--dataset/ETHPy150Open CouchPotato/CouchPotatoServer/libs/xmpp/protocol.py/DataReported.getField