numpy/numpy — pull request #3654 by danieljfarrell (2013-08-27 12:49:08+00:00)
Title: numpy.gradient enhancement to use second order accurate difference over the full domain

This is a pull request related to issue https://github.com/numpy/numpy/issues/3603 .

The changes to the gradient function work as expected for float and int datatypes, and improve the accuracy of the derivative. However, the function can not yet deal with date and time datatypes.

Please run test_function_base.py tests, could you suggest how to improve the function so that time type can work?