fix monitor df to blank function

This commit is contained in:
Matthew Stidham
2021-01-30 21:12:36 -08:00
parent a28363cef2
commit ea82d4ade4

View File

@@ -1143,6 +1143,7 @@ class L3CXProfile(BaseProfile):
return False
else:
return False
def monitor(self,
duration_sec=60,
monitor_interval=1,
@@ -1281,7 +1282,7 @@ class L3CXProfile(BaseProfile):
supported_formats = ['csv', 'json', 'stata', 'pickle','html']
for x in supported_formats:
if output_format.lower() == x or report_file.split('.')[-1] == x:
exec('df.to_' + x + '("' + report_file + '",index=False' + ')')
exec('df.to_' + x + '("'+report_file+'")')
def refresh_cx(self):