def MakePmfFromList(t, name='<STR_LIT>'):
hist = MakeHistFromList(t)<EOL>d = hist.GetDict()<EOL>pmf = Pmf(d, name)<EOL>pmf.Normalize()<EOL>return pmf<EOL>
Makes a PMF from an unsorted sequence of values.

    Args:
        t: sequence of numbers
        name: string name for this PMF

    Returns:
        Pmf object