calculate the difference time between the first and last two order:
i have dataframe like tihs :
dataframe
I want to create a column