"""
def getDeltaTime(x):
    r=(x[1] - x[0]).total_seconds() 
    return r
# It might make sense to add delta_s to the next version
d['delta_s']=d[['timeStamp0','timeStamp1']].apply(getDeltaTime, axis=1)
"""