code: def read_pd_file(path, file_type, **kwargs):
      import pandas as pd
  
      if file_type == "csv":
          df = pd.read_csv(path, **kwargs)
      elif file_type == "json":
          df = pd.read_json(path, **kwargs)
      else:
          raise Exception(
              "Unsupported file type: %s. Only csv and json files are "
              "supported for now" % file_type
          )
      return df
  
imports: import os
  import numpy
  from zoo.common import get_file_list
  from zoo.util.utils import convert_row_to_numpy
label_desc: Use image node_id 13 for calling a global function with example usage: read_pd_file(path, file_type) and returns: df