Skip to content

Commit

Permalink
Added semicolon as separator in csv-creation
Browse files Browse the repository at this point in the history
  • Loading branch information
SKrywinski committed May 29, 2018
1 parent caae378 commit 28331e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions application/modeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,9 @@ def workflow(tempdir, archive_dir):

yield "running", "Dumping generated data ...", "", "", "", "", ""
parameter = pd.DataFrame(pd.Series(parameter))
topics.to_csv(str(pathlib.Path(tempdir, "topics.csv")), encoding="utf-8")
document_topics.to_csv(str(pathlib.Path(tempdir, "document_topics.csv")), encoding="utf-8")
parameter.to_csv(str(pathlib.Path(tempdir, "parameter.csv")), encoding="utf-8")
topics.to_csv(str(pathlib.Path(tempdir, "topics.csv")), encoding="utf-8", sep=';')
document_topics.to_csv(str(pathlib.Path(tempdir, "document_topics.csv")), encoding="utf-8", sep=';')
parameter.to_csv(str(pathlib.Path(tempdir, "parameter.csv")), encoding="utf-8", sep=';')

yield "running", "Making generated data ready for download ...", "", "", "", "", ""
archive = str(pathlib.Path(archive_dir, "topicmodeling"))
Expand Down

0 comments on commit 28331e5

Please sign in to comment.