While attempting to run this script on a 2023 MacBook Pro with MacOS Sonoma v14.3, I am encountering the following error:
(datetime.date(2016, 10, 5), datetime.date(2024, 1, 22))
TypeError: descriptor 'date' for 'datetime.datetime' objects doesn't apply to a 'int' object
I believe the problem line is:
## High Sierra and above
messages = pd.read_sql_query('''select *, datetime(date/1000000000 + strftime("%s", "2001-01-01") ,"unixepoch","localtime") as date_utc from message''', conn)
I will say, it still ran, good job!
While attempting to run this script on a 2023 MacBook Pro with MacOS Sonoma v14.3, I am encountering the following error:
I believe the problem line is:
I will say, it still ran, good job!