Probability
摘要
This chapter demonstrates basic probability concepts using both SymPy and SciPy. In particular, we will apply the sympy.stats submodule and the scipy.stats submodule. sympy.stats is for symbolic and algebraic manipulation of distributions, using SymPy’s strength to preserve generality and symbolic integrity in the expressions. SciPy is another powerful Python library.