code: def test_load_data_frame(tmpdir, extension, write):
      file_path = os.path.join(tmpdir, f"test{extension}")
      write(file_path)
  
      data_frame = load_data_frame(file_path)
  
      assert isinstance(data_frame, DataFrame)
  
file_path: lightning-flash/tests/core/data/utilities/test_loading.py
imports: import os
  import numpy
  import pytest
  from flash.core.data.utilities.loading import AUDIO_EXTENSIONS, CSV_EXTENSIONS, IMG_EXTENSIONS, NP_EXTENSIONS, TSV_EXTENSIONS, load_audio, load_data_frame, load_image, load_spectrogram
  from flash.core.utilities.imports import _PANDAS_AVAILABLE, _TOPIC_AUDIO_AVAILABLE, _TOPIC_IMAGE_AVAILABLE, _TOPIC_TABULAR_AVAILABLE, Image
label_desc: Use image node_id 9 for calling a global function with example usage: test_load_data_frame(tmpdir, extension, write) without return types