CSVReader splits on tabs, not commas, and replace NaN with 0x0 in csv file swhen reporting to influx

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
Matthew Stidham
2021-07-14 16:05:56 -07:00
parent d6ef5bee74
commit ae2e95723c
3 changed files with 10 additions and 5 deletions

View File

@@ -30,7 +30,7 @@ import shutil
class CSVReader:
def read_csv(self,
file,
sep=','):
sep='\t'):
df = open(file).read().split('\n')
rows = list()
for x in df: