code: def shopee_dataset(
      download_dir: str,
      is_bytearray=False,
  ):
      """
      Download Shopee dataset for demo.
  
      Parameters
      ----------
      download_dir
          Path to save the dataset locally.
  
      Returns
      -------
      train and test set of Shopee dataset in pandas DataFrame format.
      """
      zip_file = "https://automl-mm-bench.s3.amazonaws.com/vision_datasets/shopee.zip"
      from autogluon.core.utils.loaders import load_zip
  
      load_zip.unzip(zip_file, unzip_dir=download_dir)
  
      dataset_path = os.path.join(download_dir, "shopee")
      train_data = pd.read_csv(f"{dataset_path}/train.csv")
      test_data = pd.read_csv(f"{dataset_path}/test.csv")
  
      expander = (
          path_to_bytearray_expander if is_bytearray else path_expander
      )
      train_data["image"] = train_data["image"].apply(
          lambda ele: expander(ele, base_folder=dataset_path)
      )
      test_data["image"] = test_data["image"].apply(
          lambda ele: expander(ele, base_folder=dataset_path)
      )
      return train_data, test_data
  
file_path: autogluon/multimodal/src/autogluon/multimodal/utils/misc.py
imports: import json
  import logging
  import os
  import re
  import numpy
  import pandas
  import torch
  from scipy.special import expit, softmax
label_desc: Use image node_id 6 for calling a global function with example usage: shopee_dataset(download_dir, is_bytearray) and returns: train_data,  test_data