class_docstr: Class of base data which is inherited by Node/Edge/GraphData. Internal use only.
class_docstr_tok: ["Class","of","base","data","which","is","inherited","by","Node\/Edge\/GraphData",".","Internal","use","only","."]
code: def read_csv(file_name, base_dir, separator):
      csv_path = file_name
      if base_dir is not None:
          csv_path = os.path.join(base_dir, csv_path)
      return pd.read_csv(csv_path, sep=separator)
  
imports: import ast
  import os
  from typing import Callable, List, Optional
  import numpy
  import pandas
  import pydantic
  import yaml
  from ..None import backend
  from ..base import dgl_warning, DGLError
  from ..convert import heterograph
label_desc: Use image node_id 1 for calling the BaseData obj's underlying member method code with example usage: obj.read_csv(file_name, base_dir, separator) and returns: pd