Is There A Derivative Function In Python