drop deprecated compute_gradients()
input + output pd data frames