code: def load_pdbbind_labels(labels_file):
      """Loads pdbbind labels as dataframe
  
      Parameters
      ----------
      labels_file: str
        Location of PDBbind datafile.
  
      Returns
      -------
      contents_df: pd.DataFrame
        Dataframe containing contents of PDBbind datafile.
  
      """
  
      contents = []
      with open(labels_file) as f:
          for line in f:
              if line.startswith("#"):
                  continue
              else:
                  splitline = line.split()
                  if len(splitline) == 8:
                      contents.append(splitline)
                  else:
                      print("Incorrect data format")
                      print(splitline)
  
      contents_df = pd.DataFrame(
          contents,
          columns=(
              "PDB code",
              "resolution",
              "release year",
              "-logKd/Ki",
              "Kd/Ki",
              "ignore-this-field",
              "reference",
              "ligand name",
          ),
      )
      return contents_df
  
file_path: deepchem/contrib/atomicconv/feat/atomicnet_pdbbind_datasets.py
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import unicode_literals
  import os
  import numpy
  import pandas
  from atomicnet_coordinates import ComplexNeighborListFragmentAtomicCoordinates
label_desc: Use image node_id 1 for calling a global function with example usage: load_pdbbind_labels(labels_file) and returns: contents_df