From 488323d6de52d5504c2fd4e09114f98b8308f2e0 Mon Sep 17 00:00:00 2001 From: Zhenhui Xie Date: Thu, 18 Jun 2020 13:37:10 +0800 Subject: [PATCH] Do not append to cached bar files This will make headers recognized as data by pandoc in the next read. Closes #23. --- data_processor/base_bars.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data_processor/base_bars.py b/data_processor/base_bars.py index 5311948..2b550e6 100644 --- a/data_processor/base_bars.py +++ b/data_processor/base_bars.py @@ -28,7 +28,7 @@ def batch_run(self, verbose=True): full_bars.columns = cols #print(type(list_bars[2][3])) #list_bars.columns = cols - full_bars.to_csv(self.output_path, header=header, index=False, mode='a') + full_bars.to_csv(self.output_path, header=header, index=False) header = False