Merge pull request #188 from anakin87/master

[MRG] Add encoding kwarg to camelot.core.Table.to_html method
This commit is contained in:
Vinayak Mehta
2020-08-25 19:16:50 +05:30
committed by GitHub
+1 -1
View File
@@ -631,7 +631,7 @@ class Table(object):
""" """
html_string = self.df.to_html(**kwargs) html_string = self.df.to_html(**kwargs)
with open(path, "w") as f: with open(path, "w", encoding="utf-8") as f:
f.write(html_string) f.write(html_string)
def to_sqlite(self, path, **kwargs): def to_sqlite(self, path, **kwargs):