df to file fully implemented and working

Signed-off-by: Dipti <dipti.dhond@candelatech.com>
This commit is contained in:
Dipti
2021-02-17 01:36:24 -08:00
parent 336241ff77
commit 9db0c32b38
3 changed files with 15 additions and 42 deletions

View File

@@ -291,7 +291,7 @@ python3 ./test_ipv4_variable_time.py
path = os.path.join(curr_dir_path, new_file_path)
os.mkdir(path)
if args.output_format in ['csv', 'json', 'html', 'hdf', 'stata', 'pickle', 'pdf', 'png', 'df', 'parquet',
if args.output_format in ['csv', 'json', 'html', 'hdf','stata', 'pickle', 'pdf', 'png', 'parquet',
'xlsx']:
report_f = str(path) + '/data.' + args.output_format
output = args.output_format