Skip to content

Commit

Permalink
Do not append to cached bar files
Browse files Browse the repository at this point in the history
This will make headers recognized as data by pandoc in the next read.

Closes VivekPa#23.
  • Loading branch information
heyrict authored Jun 18, 2020
1 parent fd5a531 commit 488323d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data_processor/base_bars.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 488323d

Please sign in to comment.