rder``. table_id : str, optional A css id is included in the opening `` tag if specified. render_links : bool, default False Convert URLs to HTML links. encoding : str, default "utf-8" Set character encoding. %(returns)s See Also -------- to_string : Convert DataFrame to a string. Examples -------- >>> df = pd.DataFrame(data={'col1': [1, 2], 'col2': [4, 3]}) >>> html_string = '''
... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...
col1col2
014
123
''' >>> assert html_string == df.to_html() Nz#Invalid value for justify parameterr¿