code: def get_atom_formal_charge(atom: RDKitAtom) -> List[float]:
      """Get a formal charge of an atom.
  
      Parameters
      ---------
      atom: rdkit.Chem.rdchem.Atom
          RDKit atom object
  
      Returns
      -------
      List[float]
          A vector of the formal charge.
      """
      return [float(atom.GetFormalCharge())]
  
imports: import os
  import logging
  from typing import List, Union, Tuple
  import numpy
  from deepchem.utils.typing import RDKitAtom, RDKitBond, RDKitMol
label_desc: Use image node_id 9 for calling a global function with example usage: get_atom_formal_charge(atom) and returns: list