code: def load_pandas():
      data = _get_data()
      # TODO: time series
      endog = pd.Series(data["volume"], index=data["year"].astype(int))
      dataset = du.Dataset(
          data=data,
          names=list(data.columns),
          endog=endog,
          endog_name="volume",
      )
      return dataset
  
imports: import pandas
  from statsmodels.datasets import utils
label_desc: Use image node_id 2 for calling a global function with example usage: load_pandas() and returns: dataset