I have a bigquery dataframe which has a timestamp column as shown below. I want to create a new column by adding 7 days to the creation_ts column.
creation_ts column
I have tried it as follows
`**df["TEMP_LABEL_END_TS"] = df["creation_ts"] + timedelta(days=7)**`
I am getting the following error message .
ValueError: Literal did not coerce to a supported data type: interval('D').
Can anyone help me with this.
New contributor
Chetana Tanmayee is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.