code: def test_grover_atom_vocabulary_build_from_csv(tmpdir):
      # test build from csv
      from deepchem.feat.vocabulary_builders.grover_vocab import (
          GroverAtomVocabularyBuilder,
      )
  
      atom_vocab = GroverAtomVocabularyBuilder()
      X = ["CC(=O)C", "CCC"]
      df = pd.DataFrame({"X": X})
      csv_path = os.path.join(tmpdir, "temp.csv")
      df.to_csv(csv_path)
  
      atom_vocab.build_from_csv(csv_path, smiles_field="X")
      assert atom_vocab.stoi == {
          "<pad>": 0,
          "<other>": 1,
          "C_C-SINGLE1": 2,
          "C_C-SINGLE2": 3,
          "C_C-SINGLE2_O-DOUBLE1": 4,
          "O_C-DOUBLE1": 5,
      }
      assert atom_vocab.itos == [
          "<pad>",
          "<other>",
          "C_C-SINGLE1",
          "C_C-SINGLE2",
          "C_C-SINGLE2_O-DOUBLE1",
          "O_C-DOUBLE1",
      ]
  
file_path: deepchem/deepchem/feat/vocabulary_builders/tests/test_grover_vocab.py
imports: import tempfile
  import os
  import pandas
  from rdkit import Chem
  import deepchem
label_desc: Use image node_id 2 for calling a global function with example usage: test_grover_atom_vocabulary_build_from_csv(tmpdir) without return types