[SciPy-User] generic expectation operator