I want to make a dataframe a json object.
For example,
function f():
...
...
...
return dataframe.to_json(orient='records',force_ascii=False)
but to_json does not have encoding paramter like to_csv
How do I encode with utf-8 in the case of to_json
?
thank you for reading.