code: def _make_data(data) -> Tuple[List[Dict], List[Dict]]:
          
          jsdata = []
          for idx, row in data.iterrows():
              row.index = row.index.astype(str)
              rdict = row.to_dict()
              rdict.update(dict(key=str(idx)))
              jsdata.append(rdict)
  
          return jsdata, Table._make_columns(data.columns)
docs: Transform table data into JSON.