i have data set content many columns and date time ['%y/%m/%d %H:%M:%S']
I'm try to find the difference between date time for all rows. I'm try by using this code
df['difference_time'] = (df['timezone']-df['timezone'].shift()).fillna(0)
and the output
but the output not right I'm not sure where is the problem in my code