i am currently facing a problem with sqlilte using sqlalchemy.I have a pandas df, with many columns, and a table stored in sqlite db. Both those table have the column called "target". Based on multiple keys i need to update the column in sqlite table based on values found in the same column found in pandas df.Every record is uniquely identified by the following keys:
- Date in format yyyy/mm/dd hh:mm:ss:ms
- ASSET, string
- INTERVAL, string
- QUANTILE, a float that can be treated also as a string
I tried variuos scripts found online, chatgpts but nothing works. I initally tried creating a temporary table in sqlite and after i tried using the update statement but it does not work.Do you have any suggestion or code snippet to adapt to my script?The sqlite table already stored cannot be replaced. Only column must be updated.