From ac5a6c0cbcf7ea3a00287623fd89d616486e52c3 Mon Sep 17 00:00:00 2001 From: dsyoon Date: Sat, 11 Sep 2021 14:15:25 +0900 Subject: [PATCH] init --- stockpredictor/analysis/Analyzer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stockpredictor/analysis/Analyzer.py b/stockpredictor/analysis/Analyzer.py index a99da27..6d4173a 100644 --- a/stockpredictor/analysis/Analyzer.py +++ b/stockpredictor/analysis/Analyzer.py @@ -564,7 +564,7 @@ class Analyzer: outFp = open("inout.cvs", mode='w') for check_index in range(365): idx = 365 - check_index - 1 - outFp.write("%d,%d,%d %4.2f\n" % (idx, inde_check[idx][0], inde_check[idx][1], inde_check[idx][0]*100/(inde_check[idx][0]+inde_check[idx][1]))) + outFp.write("%d,%d,%d,%4.2f\n" % (idx, inde_check[idx][0], inde_check[idx][1], inde_check[idx][0]*100/(inde_check[idx][0]+inde_check[idx][1]))) outFp.close() cursor.close()