mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 03:07:56 +00:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user