I have df with [\'time_start\',\'time_end\'] information with columns datetime type. Adding new column:
df[\'period\'] = df[\'time_end\'] - df[\'time_start\'