def MakeCdfFromPmf(pmf, name=None):
if name == None:<EOL><INDENT>name = pmf.name<EOL><DEDENT>return MakeCdfFromItems(pmf.Items(), name)<EOL>
Makes a CDF from a Pmf object.

    Args:
       pmf: Pmf.Pmf object
       name: string name for the data.

    Returns:
        Cdf object