code: def load_data(file, output_format):
      if output_format == "json":
          return pd.read_json(file, orient="records")
      return pd.read_csv(file)
  
file_path: dvc/tests/func/test_import_db.py
imports: import os
  import sqlite3
  from contextlib import closing
  import pandas
  import pytest
  from funcy import compact
label_desc: Use image node_id 4 for calling a global function with example usage: load_data(file, output_format) and returns: pd, pd