code: def main():
      parser = argparse.ArgumentParser(description="concat .csv files")
      parser.add_argument(
          "-f",
          "--folder_path",
          type=str,
          dest="folder_path",
          help="The directory which stores the .csv files",
          default="./",
      )
      args = parser.parse_args()
  
      csv_files = []
      for file_name in os.listdir(args.folder_path):
          file_path = os.path.join(args.folder_path, file_name)
          if os.path.isfile(file_path) and file_name.endswith(".csv"):
              csv_files.append(file_path)
      csv_files.sort()
  
      df1 = pd.read_csv(csv_files[0], index_col=0)
      df2 = pd.read_csv(csv_files[1], index_col=0)
      merged_df = pd.concat([df1, df2], ignore_index=True)
      merged_df.reset_index(drop=True, inplace=True)
  
      merged_csv = csv_files[0].replace("_test1", "")
      merged_df.to_csv(merged_csv)
  
imports: import os
  import sys
  import argparse
  import pandas
label_desc: Use image node_id 1 for calling a global function with example usage: main() without return types