code: def MakeCdfFromPmf(pmf, name=None):
      
      if name == None:
          name = pmf.name
      return MakeCdfFromItems(pmf.Items(), name)
docs: Makes a CDF from a Pmf object.
  
      Args:
         pmf: Pmf.Pmf object
         name: string name for the data.
  
      Returns:
          Cdf object