code: def get_dataframes_by_path(path, data_columns, label_columns):
      """
      get the data frames by path and given data, label column names,
      and return the Dataframe
  
      params:
      - path: str: the path of the exported file
      - data_columns: list[str]: the key/column names of the data
      - label_columns: list[str]: the key/column names of the label
      """
  
      # get file extension through os
      _, file_extension = os.path.splitext(path)
      file_extension = file_extension[1:]
  
      if file_extension == "csv":
          return read_from_labelstudio_csv(
              path, data_columns, label_columns
          )
      elif file_extension == "json" or file_extension == "json_min":
          return read_from_labelstudio_json(
              path, data_columns, label_columns
          )
      else:
          raise OSError(
              "current file extension {} is not supported.".format(
                  file_extension
              )
          )
  
file_path: autogluon/multimodal/src/autogluon/multimodal/utils/label_studio.py
imports: import json
  import os
  from enum import Enum
  import pandas
label_desc: Use image node_id 3 for calling a global function with example usage: get_dataframes_by_path(path, data_columns, label_columns) and returns: read_from_labelstudio_csv, read_from_labelstudio_json