Skip to content
This repository has been archived by the owner on Nov 26, 2021. It is now read-only.

trappy/cache: Store the csv in utf-8 charset explicitly #287

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion trappy/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def write_csv(self, fname):
:param fname: The name of the CSV file
:type fname: str
"""
self.data_frame.to_csv(fname)
self.data_frame.to_csv(fname, encoding='utf-8')

def read_csv(self, fname):
"""Read the csv data into a DataFrame
Expand Down