code: def readFilePD(fn, features=[]):
      df = pd.read_csv(fn, sep="\t")
      # print(df.columns)
      for col in features:
          df[col] = df[col].astype("category").cat.codes
      return df
  
file_path: deepsnap/examples/bio_application/converter.py
imports: import pandas
  import networkx
  import torch
  import torch_geometric.data
  import torch_geometric.utils
label_desc: Use image node_id 1 for calling a global function with example usage: readFilePD(fn, features) and returns: df