How do I perform upsert using this dataframe. I also need to associate the timeseries against a specified asset. Please advise.
How to use this dataframe and perform associating to an asset id using this line:
client.time_series.data.insert_dataframe(df)
I have a dataframe that looks like this as below:
DATE | LP_Crude API_Meter | LP_FRN_KERO_SW_CUTPT | LP_KERO_DSL_SW_CUTPT | LP_DSL_AGO_SW_CUTPT | LP_MVG_HVGO_SW_CUTPT |
1/1/2023 | 28.75472705 | 271.8662 | 440.9032 | 680.3416 | 928.875 |
1/2/2023 | 28.21111702 | 269.3863 | 466.2317 | 686.5167 | 924.1292 |
1/3/2023 | 27.78340123 | 268.8638 | 484.6189 | 684.5542 | 919.9917 |
1/4/2023 | 27.5781529 | 269.3117 | 506.7792 | 686.6708 | 921.9375 |
1/5/2023 | 28.03229217 | 268.1567 | 500.2208 | 688.2208 | 917.575 |