docs: def get_cpds(self):
          """
          Adds tables to BIF
  
          Returns
          -------
          dict: dict of type {variable: array}
  
          Example
          -------
          >>> from pgmpy.readwrite import BIFReader, BIFWriter
          >>> model = BIFReader('dog-problem.bif').get_model()
          >>> writer = BIFWriter(model)
          >>> writer.get_cpds()
          {'bowel-problem': array([ 0.01,  0.99]),
           'dog-out': array([ 0.99,  0.97,  0.9 ,  0.3 ,  0.01,  0.03,  0.1 ,  0.7 ]),
           'family-out': array([ 0.15,  0.85]),
           'hear-bark': array([ 0.7 ,  0.01,  0.3 ,  0.99]),
           'light-on': array([ 0.6 ,  0.05,  0.4 ,  0.95])}
          """
          cpds = self.model.get_cpds()
          tables = {}
          for cpd in cpds:
              tables[cpd.variable] = cpd.values.ravel()
          return tables