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 pop_from_dataframe(df: pd.DataFrame, item: str):
      ret = None
      try:
          ret = df.pop(item).to_numpy().squeeze()
      except KeyError:
          pass
      return ret
  
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 2 for calling the BaseData obj's underlying member method code with example usage: obj.pop_from_dataframe(df, item) and returns: ret