Skip to content

Commit

Permalink
fix encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Mar 28, 2020
1 parent 826a683 commit 3c6934d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion covid19.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def run_text(df, output, countries):

def run(args):
"""@param args: RunArgs"""
df = pd.read_csv(args.input, parse_dates=["dateRep"], dayfirst=True)
df = pd.read_csv(args.input, parse_dates=["dateRep"], dayfirst=True, encoding="ISO-8859-1")
countries = args.countries.upper().split(",") or ["ALL"]
while "TOP" in countries:
i = countries.index("TOP")
Expand Down

0 comments on commit 3c6934d

Please sign in to comment.