def marksheet(self):
columns=['<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>']<EOL>mark_sheet = pd.DataFrame() <EOL>for qu_number, question in enumerate(self.answers):<EOL><INDENT>part_no = <NUM_LIT:0><EOL>for number, part in enumerate(question):<EOL><INDENT>if number><NUM_LIT:0>:<EOL><INDENT>if part[<NUM_LIT:2>] > <NUM_LIT:0>:<EOL><INDENT>part_no += <NUM_LIT:1><EOL>index = str(qu_number+<NUM_LIT:1>) +'<STR_LIT:_>'+str(part_no)<EOL>frame = pd.DataFrame(columns=columns, index=[index])<EOL>frame.loc[index]['<STR_LIT>'] = index<EOL>frame.loc[index]['<STR_LIT>'] = part[<NUM_LIT:0>]<EOL>frame.loc[index]['<STR_LIT>'] = part[<NUM_LIT:2>]<EOL>mark_sheet =  mark_sheet.append(frame)<EOL><DEDENT><DEDENT><DEDENT><DEDENT>return mark_sheet.sort(columns='<STR_LIT>')<EOL>
Returns an pandas empty dataframe object containing rows and columns for marking. This can then be passed to a google doc that is distributed to markers for editing with the mark for each section.