(output_folder, combined_file_path)
| 73 | queue.put((-1, "test-pid")) |
| 74 | |
| 75 | def merge_csv(output_folder, combined_file_path): |
| 76 | csv_files = glob.glob(output_folder + "/*.csv") |
| 77 | |
| 78 | combined_data = pd.DataFrame() |
| 79 | |
| 80 | for csv_file in csv_files: |
| 81 | df = pd.read_csv(csv_file) |
| 82 | combined_data = pd.concat([combined_data, df], ignore_index=True) |
| 83 | |
| 84 | combined_data.to_csv(combined_file_path, index=False) |
| 85 | # Create an ArgumentParser object |
| 86 | parser = argparse.ArgumentParser(description='Description of your program') |
| 87 |