towhee.functional.mixins.display.to_html_table¶
- towhee.functional.mixins.display.to_html_table(data, header, formatter={})[source]¶
Convert two dimensional data structure into html table
- Parameters:
data (List[List], or List[Dict]) – The data filled into table. If a list of dict is given, keys are used as column names.
header (Iterable[str]) – The name of columns defined by users.