Addition/subtraction of integers and integer-arrays with DatetimeArray is no longer supported code example
Example: Addition/subtraction of integers and integer-arrays with DatetimeArray is no longer supported
end_date = (date+timedelta(days=4)).strftime("%Y-%m-%d")
# ...
date = date+timedelta(days=3)