my version of pandas is 1.1.3, and I'm trying to run code obtained from the accepted answer to this question but
offset = pd.offsets.timedelta(days=-6)
gives the error mentioned in my title, timedelta has been imported but no luck. How can I get this to run properly?