code: def load_energy_table_data():
      with app.app_context():
          database = get_example_database()
          with database.get_sqla_engine_with_context() as engine:
              df = _get_dataframe()
              df.to_sql(
                  ENERGY_USAGE_TBL_NAME,
                  engine,
                  if_exists="replace",
                  chunksize=500,
                  index=False,
                  dtype={
                      "source": String(255),
                      "target": String(255),
                      "value": Float(),
                  },
                  method="multi",
                  schema=get_example_default_schema(),
              )
      yield
      with app.app_context():
          with get_example_database().get_sqla_engine_with_context() as engine:
              engine.execute("DROP TABLE IF EXISTS energy_usage")
  
file_path: superset/tests/integration_tests/fixtures/energy_dashboard.py
imports: import random
  import pandas
  import pytest
  from sqlalchemy import column, Float, String
  from superset import db
  from superset.connectors.sqla.models import SqlaTable, SqlMetric
  from superset.models.slice import Slice
  from superset.utils.core import get_example_default_schema
  from superset.utils.database import get_example_database
  from tests.integration_tests.dashboard_utils import create_slice, create_table_metadata
  from tests.integration_tests.test_app import app
label_desc: Use image node_id 1 for calling a global function with example usage: load_energy_table_data() without return types