tmp_ = tmp.resample('T').interpolate()
slope = pd.Series(np.gradient(tmp_.values), tmp_.index, name='slope')
df = pd.concat([tmp_.rename('values'), slope], axis=1)
Calculate local time derivative of Series