docstr: Get datapoint with index
docstr_tok: ["Get","datapoint","with","index"]
code: def __getitem__(self, idx):
      """Get datapoint with index"""
  
      if isinstance(idx, (int, np.integer)):
          return self.graphs[idx], self.labels[idx]
  
      raise IndexError(
          "Only integer is valid index (got {}).".format(
              type(idx).__name__
          )
      )
  
file_path: ogb/ogb/graphproppred/dataset.py
imports: import pandas
  import shutil, os
  import numpy
  import os.path
  from ogb.utils.url import decide_download, download_url, extract_zip
  from ogb.io.read_graph_raw import read_csv_graph_raw, read_binary_graph_raw
  import torch
label_desc: Use image node_id 4 for calling the GraphPropPredDataset obj's underlying member method code with example usage: obj.__getitem__(idx) and returns: self,  self