def _repr_html_(self):
all_keys = list(set(itertools.chain(*[d.keys for d in self])))<EOL>rows = '<STR_LIT>'<EOL>for decor in self:<EOL><INDENT>th, tr = decor._repr_html_row_(keys=all_keys)<EOL>rows += '<STR_LIT>'.format(tr)<EOL><DEDENT>header = '<STR_LIT>'.format(th)<EOL>html = '<STR_LIT>'.format(header, rows)<EOL>return html<EOL>
Jupyter Notebook magic repr function.