code: def __init__(self, data, window_size):
      # read in data, window_size and input filename
      self.data = data
      self.window_size = window_size
      self.input_file = open(data.inputFileName, encoding="ISO-8859-1")
  
file_path: dgl/examples/pytorch/metapath2vec/reading_data.py
imports: import numpy
  import torch
  from download import AminerDataset
  from torch.utils.data import Dataset
label_desc: Use image node_id 1 to create a new Metapath2vecDataset object from inherited base classes: Dataset with example: obj = Metapath2vecDataset(data, window_size)