Merge d8c6d0eb77 into 644bbe7c6d
commit
fc07f624ab
|
|
@ -1,5 +1,7 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
from __future__ import absolute_import
|
||||||
|
from io import open
|
||||||
import os
|
import os
|
||||||
import sqlite3
|
import sqlite3
|
||||||
import zipfile
|
import zipfile
|
||||||
|
|
@ -592,7 +594,7 @@ class Table(object):
|
||||||
kw = {"orient": "records"}
|
kw = {"orient": "records"}
|
||||||
kw.update(kwargs)
|
kw.update(kwargs)
|
||||||
json_string = self.df.to_json(**kw)
|
json_string = self.df.to_json(**kw)
|
||||||
with open(path, "w") as f:
|
with open(path, "w", encoding="utf-8") as f:
|
||||||
f.write(json_string)
|
f.write(json_string)
|
||||||
|
|
||||||
def to_excel(self, path, **kwargs):
|
def to_excel(self, path, **kwargs):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue