def METHOD_NAME(data_path, num_nodes):
    edges = {}
    idx = 0
    for filename in glob.glob(os.path.join(data_path, '*')):
        try:
            e = pd.read_csv(filename, header=None, sep="\t").values
            edges['etype%s' % idx] = e
            idx += 1
        except Exception as e:
            log.info(e)
            continue
    node_types = [(i, "n") for i in range(num_nodes)]
    hg = pgl.HeterGraph(edges=edges, node_types=node_types)
    return hg