We should use timestamp if we are inserting more than once a day.
I guess the problem is here for example:
|
df_daily.date_of_acquisition = df_daily.date_of_acquisition.apply(lambda x: datetime.datetime.strptime(str(x), '%Y%m%d%H').date()) |
|
df.date_of_acquisition = df.date_of_acquisition.apply(lambda x: datetime.datetime.strptime(x, '%Y%m%d%H').date()) |
We have to check where else it exists.
We should use timestamp if we are inserting more than once a day.
I guess the problem is here for example:
webscraping_2018/bild_scraping.py
Line 140 in aba5809
webscraping_2018/daily_db.py
Line 95 in aba5809
We have to check where else it exists.