code: def create_df_from_disjoint_series(series_list: List[cudf.Series]):
      series_list.sort(key=lambda s: len(s), reverse=True)
  
      df = cudf.DataFrame()
      for s in series_list:
          df[s.name] = s
  
      return df
  
file_path: cugraph/python/cugraph/cugraph/gnn/data_loading/bulk_sampler_io.py
imports: import os
  import cudf
  import cupy
  from math import ceil
  from pandas import isna
  from typing import Union, Optional, List
label_desc: Use image node_id 1 for calling a global function with example usage: create_df_from_disjoint_series(series_list) and returns: df