code: def _read_data() -> pd.DataFrame:
      """ """
      import pandas as pd
  
      with open(external_path("airports.json")) as f:
          content = f.read()
          airports = json.loads(content)
          schema: Any = [
              ["attributes", "nam"],
              ["attributes", "zv3"],
              ["geometry", "x"],
              ["geometry", "y"],
          ]
          data = pd.json_normalize(airports["features"], meta=schema)
          data.rename(
              columns={
                  "attributes.nam": "name",
                  "attributes.zv3": "elevation",
              },
              inplace=True,
          )
          data.rename(
              columns={"geometry.x": "x", "geometry.y": "y"},
              inplace=True,
          )
      return data
  
imports: from __future__ import annotations
  import logging
  import json
  from typing import TYPE_CHECKING, Any
  from ..util.sampledata import external_path
label_desc: Use image node_id 1 for calling a global function with example usage: _read_data() and returns: data