code: def MakeSuiteFromCdf(cdf, name=None):
      
      if name is None:
          name = cdf.name
  
      suite = Suite(name=name)
  
      prev = 0.0
      for val, prob in cdf.Items():
          suite.Incr(val, prob - prev)
          prev = prob
  
      return suite
docs: Makes a normalized Suite from a Cdf object.
  
      Args:
          cdf: Cdf object
          name: string name for the new Suite
  
      Returns:
          Suite object