Commit ea57f3c2 authored by Reto Da Forno's avatar Reto Da Forno
Browse files

clear dataframe at the beginning

parent f80e985b
......@@ -78,6 +78,8 @@ def parse_dwt_output(input_file='swo_read_log', output_file='swo_read_log.csv',
"""
global df
# make sure the dataframe is empty
df = pd.DataFrame(columns=['global_ts', 'comparator', 'data', 'PC', 'operation', 'local_ts'])
swo_queue = collections.deque()
global_ts_queue = collections.deque()
# df_queue = queue.Queue()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment