def MakeCdfFromItems(items, label=None):
 return Cdf(dict(items), label=label)

def MakeCdfFromItems ( items , label = None ) : return Cdf ( dict ( items ) , label = label )
makes a cdf from an unsorted sequence of pairs .