pandas Timedelta to postgres code example Example: pandas Timedelta to postgres my_df['delay'] = my_df['delay'].astype(str)