def FiniteRV(name, density):
    return rv(name, FiniteDistributionHandmade, density)
Create a Finite Random Variable given a dict representing the density.
dataset/ETHPy150Open sympy/sympy/sympy/stats/frv_types.py/FiniteRV