SciPy Diff