@property<EOL><INDENT>def dataset(self):<DEDENT>
<EOL>data = tablib.Dataset()<EOL>if len(list(self)) == <NUM_LIT:0>:<EOL><INDENT>return data<EOL><DEDENT>first = self[<NUM_LIT:0>]<EOL>data.headers = first.keys()<EOL>for row in self.all():<EOL><INDENT>row = _reduce_datetimes(row.values())<EOL>data.append(row)<EOL><DEDENT>return data<EOL>
A Tablib Dataset representation of the RecordCollection.