code: def _parse_args():
      parser = ArgumentParser()
  
      parser.add_argument(
          "--input_folder",
          type=str,
          required=True,
          help="Path to the folder of parquet files.",
      )
      parser.add_argument(
          "--output_folder",
          type=str,
          default=".",
          help="The path to save the preprocessed data to parquet files. ",
      )
  
      args = parser.parse_args()
      return args
  
file_path: BigDL/python/friesian/example/wnd/recsys2021/convert_train.py
imports: import os
  from os import listdir
  from argparse import ArgumentParser
  import pandas
  from urllib.parse import urlparse
  from os.path import exists
  from bigdl.dllib.utils import log4Error
label_desc: Use image node_id 2 for calling a global function with example usage: _parse_args() and returns: args