code: def load_pandas():
      data = _get_data()
      dataset = du.process_pandas(data, endog_idx=0, exog_idx=None)
      dataset.censors = dataset.exog.iloc[:, 0]
      dataset.exog = dataset.exog.iloc[:, 1]
      return dataset
  
imports: 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