Solved by kklemon in post #2 
              
              
                I think there is no direct equivalent, but you can easily implement the function with 
def ptp(t, axis):
  return t.max(axis).values - t.min(axis).values